Bug 749 – Internal error: toir.c 170 with lazy bool and delegate with default argument

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

Comments

Comment #0 by matti.niemenmaa+dbugzilla — 2006-12-26T07:20:02Z
Originally from digitalmars.D:45809, the reduced testcase follows: bool nextis(void delegate() dgpositive = {}) { return true; } bool looping(lazy bool condition) { return true; } void main() { looping(nextis()); looping(nextis()); }
Comment #1 by thomas-dloop — 2006-12-31T08:47:56Z
Comment #2 by bugzilla — 2007-01-03T22:12:16Z
Fixed DMD 1.00