[Issue 11677] New: user defined attributes must be first

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


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

           Summary: user defined attributes must be first
           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:32 PST ---
Test case:

enum uda;
@uda @safe void foo() {}    // OK
@safe @uda void bar() {}    // NG

test.d(3): Error: user defined attributes must be first

-- 
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