digitalmars.D.bugs - mixins 2
- bobef (20/20) Mar 01 2006 ============================== a.d ======================
- Thomas Kuehne (16/36) Mar 02 2006 -----BEGIN PGP SIGNED MESSAGE-----
============================== a.d ======================
template FFF()
{
class A : B
{
this(){}
}
class B
{
}
}
void main()
{
mixin FFF;
}
==========================================================
C:\dev>dmd a.d
FuncDeclaration::semantic3(constructor 'this', sc = 0098A7E8)
Assertion failure: '0' on line 373 in file 'func.c'
abnormal program termination
Mar 01 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
bobef schrieb am 2006-03-01:
============================== a.d ======================
template FFF()
{
class A : B
{
this(){}
}
class B
{
}
}
void main()
{
mixin FFF;
}
==========================================================
C:\dev>dmd a.d
FuncDeclaration::semantic3(constructor 'this', sc = 0098A7E8)
Assertion failure: '0' on line 373 in file 'func.c'
abnormal program termination
Added to DStress as
http://dstress.kuehne.cn/run/t/this_10_B.d
http://dstress.kuehne.cn/run/t/this_10_C.d
http://dstress.kuehne.cn/run/t/this_10_A.d
http://dstress.kuehne.cn/nocompile/t/this_10_D.d
http://dstress.kuehne.cn/nocompile/t/this_10_E.d
http://dstress.kuehne.cn/nocompile/t/this_10_F.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFEBrfk3w+/yD4P9tIRAj0zAJsFJHXjalK3KtFZHP8x9L9lmZ3GfACgp+rW
IIlb84iueeyX3iZFX/yQ6bY=
=BCaa
-----END PGP SIGNATURE-----
Mar 02 2006








Thomas Kuehne <thomas-dloop kuehne.cn>