[Issue 11678] New: user defined attributes cannot appear as postfixes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 3 20:21:38 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11678

           Summary: user defined attributes cannot appear as postfixes
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2013-12-03 20:21:38 PST ---
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

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list