Bug 8860 – DMD crashes in post-contract of auto function

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-10-20T21:28:00Z
Last change time
2013-07-14T04:00:01Z
Keywords
contracts, ice
Assigned to
nobody
Creator
kekeniro2

Comments

Comment #0 by kekeniro2 — 2012-10-20T21:28:19Z
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
Comment #1 by kekeniro2 — 2013-03-06T03:58:11Z
It reproduces on WinXP 32bit.
Comment #2 by kekeniro2 — 2013-07-14T04:00:01Z
*** This issue has been marked as a duplicate of issue 10596 ***