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: nob...@puremagic.com
        ReportedBy: k.hara...@gmail.com


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

Reply via email to