703 – SuperExp::scanForNestedRef Assertion

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 703 - SuperExp::scanForNestedRef Assertion
Summary: SuperExp::scanForNestedRef Assertion
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Linux
: P2 major
Assignee: Walter Bright
URL:
Keywords:
Depends on:
Blocks:
Reported: 2006年12月21日 08:16 UTC by Oskar Linde
Modified: 2014年02月15日 13:22 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Oskar Linde 2006年12月21日 08:16:50 UTC
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 Thomas Kühne 2006年12月26日 08:31:30 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
d-bugmail@puremagic.com 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 Walter Bright 2007年01月03日 22:06:21 UTC
Fixed DMD 1.00


AltStyle によって変換されたページ (->オリジナル) /