October 31, 2013 [Issue 11398] New: Language spec does not allow new eponymous template syntax | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11398 Summary: Language spec does not allow new eponymous template syntax Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: websites AssignedTo: nobody@puremagic.com ReportedBy: brian-schott@cox.net --- Comment #0 from brian-schott@cox.net 2013-10-30 20:57:36 PDT --- http://dlang.org/changelog.html#eponymous_template Again, new language features are being added without the grammar being updated. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 31, 2013 [Issue 11398] Language spec does not allow new eponymous template syntax | ||||
---|---|---|---|---|
| ||||
Posted in reply to brian-schott@cox.net | http://d.puremagic.com/issues/show_bug.cgi?id=11398 --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-10-30 21:36:23 PDT --- Current compiler implementation for DIP42 does not accept following syntax. enum isInteger(T) = is(T == int); // OK enum bool isInteger(T) = is(T == int); // NG The issue is already filed in bug 11177. To fix the issue, I already posted a compiler fix: https://github.com/D-Programming-Language/dmd/pull/2467 And it has a corresponding documentation change. https://github.com/D-Programming-Language/dlang.org/pull/371 -- 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