mixins

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



More information about the Digitalmars-d-bugs mailing list