[Issue 642] New: error: mixin "static this" into where it cannot be

Thomas Kuehne thomas-dloop at kuehne.cn
Thu Dec 7 03:00:24 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-12-04:
> http://d.puremagic.com/issues/show_bug.cgi?id=642

> // credit goes to http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F27
> template Foo()
> {
>   static this(){}
> }
>
> void main()
> {
>   mixin Foo;
> }
> ----------------
> Assertion failure: 'ad' on line 877 in file 'func.c'
>
> abnormal program termination

Added to DStress as
http://dstress.kuehne.cn/nocompile/t/this_14_A.d
http://dstress.kuehne.cn/nocompile/t/this_14_B.d
http://dstress.kuehne.cn/nocompile/t/this_14_C.d
http://dstress.kuehne.cn/nocompile/t/this_14_D.d
http://dstress.kuehne.cn/nocompile/t/this_14_E.d
http://dstress.kuehne.cn/nocompile/t/this_14_F.d
http://dstress.kuehne.cn/nocompile/t/this_14_G.d
http://dstress.kuehne.cn/nocompile/t/this_14_H.d
http://dstress.kuehne.cn/nocompile/t/this_14_I.d
http://dstress.kuehne.cn/nocompile/t/this_14_J.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFFd//uLK5blCcjpWoRAvZCAKCTGJoNDgTVbtzDoOqWe2tGCkOpwACeJ8X9
AlznwJrxg03qHRyLa7S6foc=
=kFUs
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list