digitalmars.D.bugs - mixins
- bobef <bobef lessequal.com> Mar 01 2006
- Thomas Kuehne <thomas-dloop kuehne.cn> Mar 02 2006
I was actually trying to reproduce another abnormal program termination.
Heh.
====================== a.d ===================
template FFF()
{
class A : B
{
}
class B
{
}
}
void main()
{
mixin FFF;
}
=================================================
C:\dev>dmd a.d
Assertion failure: '!scope' on line 191 in file 'toobj.c'
abnormal program termination
Mar 01 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 bobef schrieb am 2006-03-01:I was actually trying to reproduce another abnormal program termination. Heh. ====================== a.d =================== template FFF() { class A : B { } class B { } } void main() { mixin FFF; } ================================================= C:\dev>dmd a.d Assertion failure: '!scope' on line 191 in file 'toobj.c' abnormal program termination
Added to DStress as http://dstress.kuehne.cn/run/c/class_22_A.d http://dstress.kuehne.cn/run/c/class_22_B.d http://dstress.kuehne.cn/nocompile/c/class_22_C.d http://dstress.kuehne.cn/run/c/class_22_D.d http://dstress.kuehne.cn/nocompile/c/class_22_E.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFEBrWG3w+/yD4P9tIRAp+BAJ4mJbvRckA1O1b3abGhsXP+a7/VpgCeJqfF FcYRFQMjYQP8mLjNBbfjsGM= =6ap7 -----END PGP SIGNATURE-----
Mar 02 2006








Thomas Kuehne <thomas-dloop kuehne.cn>