[Issue 19081] Can't declare enum with UDA at statement level

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 17 10:59:20 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19081

--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/89639f2876a72015ef4ade085293deb55c2f459f
Fix issue 19081 - defining enum with UDA at statements level

Don't treat 'enum' as storage class if it's followed by ':', '{' or an
identifier and '{'.

https://github.com/dlang/dmd/commit/4a2805d4986ee85899abeb7903f523526603291c
Merge pull request #8492 from yshui/uda-enum

Fix issue 19081 - defining enum with UDA at statements level

--


More information about the Digitalmars-d-bugs mailing list