May 08, 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@puremagic.com
        ReportedBy: k.hara.pg@gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg@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: -------
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


--- Comment #1 from kennytm@gmail.com 2011-05-08 13:29:49 PDT ---
*** 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: -------