June 08, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10300

           Summary: remove limitation: user defined attributes cannot
                    appear as postfixes
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: destructionator@gmail.com


--- Comment #0 from Adam D. Ruppe <destructionator@gmail.com> 2013-06-08 08:56:06 PDT ---
given:

enum Test; void foo() @Test {}

$ dmd test11
test11.d(2): Error: user defined attributes cannot appear as postfixes
test11.d(2): Error: semicolon expected following function declaration
test11.d(2): Error: unrecognized declaration


Why is that limitation there? I propose we remove it so make UDAs the same as the other function decorations which can go both before and after a function.

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