[D-runtime] failure with new druntime core/time.d

Walter Bright walter at digitalmars.com
Mon Aug 15 21:10:11 PDT 2011


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

On 8/15/2011 1:12 PM, Walter Bright wrote:
> \cbx\mars\druntime\import\core\time.di(253): Error: template 
> core.time.TickDuration.to(string units,
> T) if ((units == "seconds" || units == "msecs" || units == "usecs" || units == 
> "hnsecs" || units ==
> "nsecs") && (__traits(isIntegral,T) && T.sizeof >= 4)) does not match any 
> function template declarat
> ion
> \cbx\mars\druntime\import\core\time.di(253): Error: template 
> core.time.TickDuration.to(string units,
> T) if ((units == "seconds" || units == "msecs" || units == "usecs" || units == 
> "hnsecs" || units ==
> "nsecs") && (__traits(isIntegral,T) && T.sizeof >= 4)) cannot deduce template 
> function from argument
>  types !("seconds",long)() 


More information about the D-runtime mailing list