Mercurial > projects > ldc
diff dmd/mars.c @ 127:facc562f5674 trunk
[svn r131] Fixed #11
All associative array properties now work as they should.
Fixed problems with some cases of array.length and array.ptr.
Fixed some problems with array properties.
Fixed 'in' contracts.
author | lindquist |
---|---|
date | Fri, 30 Nov 2007 12:56:52 +0100 |
parents | 169fda3a77d4 |
children | 8096ba7082db |
line wrap: on
line diff
--- a/dmd/mars.c Wed Nov 28 05:04:38 2007 +0100 +++ b/dmd/mars.c Fri Nov 30 12:56:52 2007 +0100 @@ -259,11 +259,11 @@ global.params.link = 1; global.params.useAssert = 0; global.params.useInvariants = 0; - global.params.useIn = 0; + global.params.useIn = 1; global.params.useOut = 0; global.params.useArrayBounds = 0; global.params.useSwitchError = 0; - global.params.useInline = 0; + global.params.useInline = 0; // this one messes things up to a point where codegen breaks global.params.obj = 1; global.params.Dversion = 2;