Bug 11680 – user defined attributes for type inference

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-03T20:59:00Z
Last change time
2014-03-09T18:07:39Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2013-12-03T20:59:03Z
Test case: enum uda; @uda auto global1 = 1; // OK @uda global1 = 1; // NG @uda auto foo() {} // OK @uda foo() {} // NG test.d(3): Error: no identifier for declarator global1 test.d(5): Error: function declaration without return type. (Note that constructors are always named 'this') test.d(5): Error: no identifier for declarator foo()
Comment #1 by k.hara.pg — 2013-12-03T22:52:25Z
Comment #2 by github-bugzilla — 2014-03-08T23:57:55Z