July 31, 2011 [Issue 6416] New: [CTFE] Declaration static struct is not yet implemented in CTFE | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6416 Summary: [CTFE] Declaration static struct is not yet implemented in CTFE Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: kennytm@gmail.com --- Comment #0 from kennytm@gmail.com 2011-07-31 06:44:34 PDT --- Test case: -------------------- static assert({ static struct S {} return true; }()); -------------------- x.d(2): Error: Declaration static struct S { } is not yet implemented in CTFE ... -------------------- Declaring and using a normal inner struct is supported. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 08, 2011 [Issue 6416] [CTFE] Declaration static struct is not yet implemented in CTFE | ||||
---|---|---|---|---|
| ||||
Posted in reply to kennytm@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=6416 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2011-11-07 23:09:45 PST --- https://github.com/D-Programming-Language/dmd/commit/366a1d759ed45d2aa4bfcb431a0d1ded1f8cf0fc https://github.com/D-Programming-Language/dmd/commit/a25c281637a5cfdfad7eb55487ebfffca8bd49df -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation