Bug 11678 – user defined attributes cannot appear as postfixes

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:35Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2013-12-03T20:21:38Z
Test case: enum uda; void foo() @uda {} test.d(2): Error: user defined attributes cannot appear as postfixes test.d(2): Error: semicolon expected following function declaration test.d(2): Error: unrecognized declaration
Comment #1 by k.hara.pg — 2013-12-03T22:52:13Z
Comment #2 by k.hara.pg — 2013-12-03T22:56:37Z
*** Issue 10300 has been marked as a duplicate of this issue. ***
Comment #3 by github-bugzilla — 2014-03-08T23:57:50Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a0b7428f500ea2751cfe53a798a0fd29aebcd2f3 fix Issue 11678 - user defined attributes cannot appear as postfixes