Thread overview
[Issue 11677] New: user defined attributes must be first
Dec 04, 2013
Kenji Hara
Dec 04, 2013
Kenji Hara
Mar 10, 2014
Kenji Hara
December 04, 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@puremagic.com
        ReportedBy: k.hara.pg@gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg@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: -------
December 04, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11677


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-12-03 22:52:00 PST ---
https://github.com/D-Programming-Language/dmd/pull/2924

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 09, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11677



--- Comment #2 from github-bugzilla@puremagic.com 2014-03-08 23:57:47 PST ---
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

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 10, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11677


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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