digitalmars.D.bugs - [Issue 5960] New: Return type inferrence with suffixed function attributes should be allowed
- d-bugmail puremagic.com (31/31) May 08 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5960
- d-bugmail puremagic.com (12/12) May 08 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5960
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 puremagic.com
ReportedBy: k.hara.pg gmail.com
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: -------
May 08 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5960
kennytm gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |kennytm gmail.com
Resolution| |DUPLICATE
*** This issue has been marked as a duplicate of issue 4040 ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 08 2011








d-bugmail puremagic.com