[Issue 11398] Language spec does not allow new eponymous template syntax
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 30 21:36:24 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11398
--- Comment #1 from Kenji Hara <k.hara.pg at 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: -------
More information about the Digitalmars-d-bugs
mailing list