bug 142 -- fixed but dstress still failing
Thomas Kuehne
thomas-dloop at kuehne.cn
Sun Jan 21 15:38:57 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brad Roberts schrieb am 2007-01-20:
> Thomas Kuehne wrote:
>> Frits van Bommel schrieb am 2007-01-19:
>>> Lionello Lunesu wrote:
>>>> Brad Roberts wrote:
[...]
>> The above code is missing a crucial information:
>>
>> 9 // __DSTRESS_ELINE__ 14
>> 10
>> 11 module dstress.nocompile.b.bug_template_610_A;
>> 12
>> 13 template A(alias T) {
>> 14 void A(T){
>> 15 }
>> 16 }
>> 17
>> 18 void main(){
>> 19 int i;
>> 20 A(i);
>> 21 }
>>
>> The template declaration in line 13 matches the request in line 20 but
>> fails to instantiate due to line 14. If you look at DMD's output
>> however, only line 20 is mentioned.
>>
>> bug_template_610_A.d(20): template dstress.nocompile.b.bug_template_610_A.A(alias T) does not match any template declaration
>> bug_template_610_A.d(20): template dstress.nocompile.b.bug_template_610_A.A(alias T) cannot deduce template function from argument types (int)
> Ok, so, um.. apologies for being obtuse. Is dmd still broken in your
> mind? If so, then either a new bug needs to be filed or bug 142 needs
> to be re-opened with details as to what's still wrong. Would you make
> the choice and perform the action? :)
Yes DMD is broken or the documentation is incorrect. I've file a new
issues as #142 was an ICE bug but this is a diagnostic issue.
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFtAEkLK5blCcjpWoRAigJAJ9uXmieceaD6aDoDary7UqnnS1UOgCgrp3i
xjiTNBv/I3co89iRiM5XLsY=
=lIo6
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list