[Issue 10300] New: remove limitation: user defined attributes cannot appear as postfixes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 8 08:56:08 PDT 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 at puremagic.com
ReportedBy: destructionator at gmail.com
--- Comment #0 from Adam D. Ruppe <destructionator at 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: -------
More information about the Digitalmars-d-bugs
mailing list