mixins 2

Thomas Kuehne thomas-dloop at kuehne.cn
Thu Mar 2 00:20:40 PST 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-----



More information about the Digitalmars-d-bugs mailing list