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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 23 20:56:21 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8673



--- Comment #1 from github-bugzilla at puremagic.com 2012-09-23 20:57:14 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/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 request #1127 from donc/ice8673ctfe_dollar

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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list