Bug 10792 – Bad diagnostic on new eponymous enum template syntax

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-08-11T05:01:00Z
Last change time
2013-08-11T08:23:25Z
Keywords
diagnostic, pull
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2013-08-11T05:01:22Z
----- enum isPred(T) = asdf ----- > Error: semicolon expected to close TOK0 declaration "TOK0" is an internal definition.
Comment #1 by henning — 2013-08-11T05:20:22Z
Comment #2 by github-bugzilla — 2013-08-11T08:23:13Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/166f722b966ac423c8bdb718ab60bc00fca3fc9d fix issue 10792 - Bad diagnostic on new eponymous enum template syntax https://github.com/D-Programming-Language/dmd/commit/b55f805133f9d249890ddf6b98270ca826b3e26b Merge pull request #2465 from hpohl/10792 fix issue 10792 - Bad diagnostic on new eponymous enum template syntax