I've hit another regression:
struct Test {
static immutable c = Test();
static if( true ){}
}
when compiled with no options gives
Error: static if conditional cannot be at global scope
Changing to
struct Test {
static immutable Test c = Test();
static if( true ){}
}
does not trigger the error.
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta
