Bug 4193 – Regression 2.046, ICE(expression.c): initialising class member with const forward reference

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2010-05-15T12:57:00Z
Last change time
2015-06-09T05:13:45Z
Keywords
ice-on-valid-code
Assigned to
nobody
Creator
entity64

Comments

Comment #0 by entity64 — 2010-05-15T12:57:30Z
Compiling the latest snapshot of the DFL library, the compiler aborts with an assertion failure. Output: UINT 01DE3C70 Assertion failure: \'0\' on line 1624 in file \'expression.c\'
Comment #1 by entity64 — 2010-05-15T13:10:27Z
Comment #2 by chris — 2010-05-17T17:38:41Z
This is a new problem with DMD 2.046, doesn't happen with earlier versions or 1.x I haven't had much luck yet trying to track it down.
Comment #3 by clugdbug — 2010-06-03T01:28:33Z
Reduced test case. --- alias int AboutAs; class PalatableAs { int yum = aTractorSeat; } const AboutAs aTractorSeat = 0;
Comment #4 by bugzilla — 2010-06-03T15:11:38Z