Strange DMD Assertion failure

Bruno Medeiros brunodomedeirosATgmail at SPAM.com
Sat Jul 1 03:06:29 PDT 2006


Thomas Kuehne wrote:
> -----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-----

Seems this was fixed in DMD 162.

-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d-bugs mailing list