http://d.puremagic.com/issues/show_bug.cgi?id=8860

           Summary: DMD crashes in post-contract of auto function
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Keywords: contracts, ice
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: kekeni...@yahoo.co.jp


--- Comment #0 from kekeni...@yahoo.co.jp 2012-10-20 21:28:19 PDT ---
Test case:
-----------------
class Any {
    auto foo()
    out  ( result ) { }
    body { return 0; }
}
-----------------

DMD crashes when compiling the above source.
DMD2.059 or older gives compile error against it. ( REJECT VALID? )

To reproduce:
 1. Class member
 2. Auto function
 3. Post-contract with parameter

Environment:
Windows 7 64-bit
DMD 2.060

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to