Bug 703 – SuperExp::scanForNestedRef Assertion

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-12-21T08:16:00Z
Last change time
2014-02-15T13:22:20Z
Assigned to
bugzilla
Creator
oskar.linde

Comments

Comment #0 by oskar.linde — 2006-12-21T08:16:50Z
class C { void func(lazy uint x) { (new C).func(super.toHash()); } } dmd: delegatize.c:103: virtual void SuperExp::scanForNestedRef(Scope*): Assertion `0' failed.
Comment #1 by thomas-dloop — 2006-12-26T08:31:30Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [email protected] schrieb am 2006-12-21: > http://d.puremagic.com/issues/show_bug.cgi?id=703 > class C { void func(lazy uint x) { (new C).func(super.toHash()); } } > > dmd: delegatize.c:103: virtual void SuperExp::scanForNestedRef(Scope*): > Assertion `0' failed. Added to DStress as http://dstress.kuehne.cn/compile/l/lazy_01_A.d http://dstress.kuehne.cn/compile/l/lazy_01_B.d http://dstress.kuehne.cn/compile/l/lazy_01_C.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFkRdvLK5blCcjpWoRAom0AKCeTfWcMUdaTefv1odFRkowKVcT1QCbBtc3 EnABrJDcYauv5YYu/RuveRk= =VKlx -----END PGP SIGNATURE-----
Comment #2 by bugzilla — 2007-01-03T22:06:21Z
Fixed DMD 1.00