← Back to index
|
Original Bugzilla link
Bug 11677 – user defined attributes must be first
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-03T20:21:00Z
Last change time
2014-03-09T18:07:32Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2013-12-03T20:21:32Z
Test case: enum uda; @uda @safe void foo() {} // OK @safe @uda void bar() {} // NG test.d(3): Error: user defined attributes must be first
Comment #1
by k.hara.pg — 2013-12-03T22:52:00Z
https://github.com/D-Programming-Language/dmd/pull/2924
Comment #2
by github-bugzilla — 2014-03-08T23:57:47Z
Commit pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/19a101c857ad7d2cdfe1a0c208ec9711f291c0ca
fix Issue 11677 - user defined attributes must be first Parse prefix attributes in while loop of parseDeclDefs