Strange DMD Assertion failure

Thomas Kuehne thomas-dloop at kuehne.cn
Thu Jun 29 06:35:29 PDT 2006


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

Bruno Medeiros schrieb am 2006-06-23:
>

[snip]

>    template tpl() {
>      typeof( {} ) foo;
>    }
>
>    int main(char[][] args)
>    {
>      tpl!();
>      return 0;
>    }
>
> » Assertion failure: 'next' on line 2226 in file 'mtype.c'
>
> Not sure if this is the same as bug 220, since that one asserts on a 
> different line (altough on the same file), and the test case seems 
> different.

Added to DStress as
http://dstress.kuehne.cn/run/b/bug_mtype_2226_A.d
http://dstress.kuehne.cn/run/b/bug_mtype_2226_B.d

Thomas


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

iD8DBQFEo7ja3w+/yD4P9tIRApoZAKCkzviTOmEau6ZnPqYwlHVKtnwqfACfbqbh
apH8t/ytCqHn2K2//Ens2JU=
=oPTq
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list