[Issue 617] IFTI doesn't use normal promotion rules for non-template parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 29 16:28:33 PST 2006


http://d.puremagic.com/issues/show_bug.cgi?id=617





------- Comment #2 from wbaxter at gmail.com  2006-11-29 18:28 -------
(In reply to comment #1)
> >     // ok with exact match on non-template param
> >     simple_func_t!(char[])(args[0], 3u);

> Added to DStress as
> http://dstress.kuehne.cn/run/t/template_49_A.d
> http://dstress.kuehne.cn/run/t/template_49_B.d
> http://dstress.kuehne.cn/run/t/template_49_C.d
> 

Oops the line above is supposed to be *without* the explicit template arg:

     // ok with exact match on non-template param
     simple_func_t(args[0], 3u);

But it doesn't look like that will affect your dstress tests.


-- 




More information about the Digitalmars-d-bugs mailing list