[Issue 5960] New: Return type inferrence with suffixed function attributes should be allowed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 8 13:21:58 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5960
Summary: Return type inferrence with suffixed function
attributes should be allowed
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> 2011-05-08 13:18:01 PDT ---
Following code compilation fails:
----
struct S
{
auto f1(){} // OK
auto f2()nothrow{} // NG
auto f3()pure{} // NG
auto f4()@property{} // NG
auto f5()const{} // NG
auto f6()immutable{} // NG
auto f7()shared{} // NG
}
----
--
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