[D-runtime] Odd time.di error in 2.055

Alex xtzgzorex at gmail.com
Sun Oct 16 06:10:20 PDT 2011


Hey folks,

Has anyone seen this before?

/usr/local/include/d2/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 declaration
/usr/local/include/d2/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)()

This seems to happen in 2.055 but didn't in previous versions. I'm not
explicitly using core.time anywhere in my code, so I'm having a lot of
trouble trying to make an isolated test case. :(

Does anyone have a clue what might be going awry here?

Thanks in advance!

Regards,
Alex


More information about the D-runtime mailing list