Bug 628 – Assertion failure: '0' on line 91 in file 'init.c'

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-12-02T13:55:00Z
Last change time
2014-02-15T13:18:56Z
Keywords
ice-on-valid-code
Assigned to
bugzilla
Creator
matti.niemenmaa+dbugzilla

Comments

Comment #0 by matti.niemenmaa+dbugzilla — 2006-12-02T13:55:39Z
Nothing disallows this, as far as I can tell, so I marked this as ice-on-valid-code: void main() { // any type is fine, 'int' used for its brevity int x = void; x = x.init; } Of course, it's debatable whether this is useful.
Comment #1 by bugzilla — 2006-12-12T04:15:44Z
Fixed DMD 0.176
Comment #2 by thomas-dloop — 2006-12-30T09:49:48Z