[Issue 8673] enum z = [0][(()=$-1)()]; crashes the compiler

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8673 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|D1 D2 |D2 --

[Issue 8673] enum z = [0][(()=$-1)()]; crashes the compiler

2012-09-23 Thread d-bugmail
/ddcde35249c6c780422e11aa4ac965523f58aaea Fix issue 8673 enum z = [0][(()=$-1)()]; crashes the compiler variables with CTFE storage class shouldn't be treated as globals. (__dollar is a funny hack, it's neither global nor local). https://github.com/D-Programming-Language/dmd/commit/8f47d6113c8538131397ea2f68547ba2d859efb2 Merge pull

[Issue 8673] enum z = [0][(()=$-1)()]; crashes the compiler

2012-09-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8673 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED