[Issue 8860] New: DMD crashes in post-contract of auto function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 20 21:28:23 PDT 2012


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: nobody at puremagic.com
        ReportedBy: kekeniro2 at yahoo.co.jp


--- Comment #0 from kekeniro2 at 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: -------


More information about the Digitalmars-d-bugs mailing list