[Issue 15502] Error: function core.time.dur!"nsecs".dur (long length) is not callable using argument types (MonoTimeImpl!cast(ClockType)0)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Jan 2 19:02:16 PST 2016
https://issues.dlang.org/show_bug.cgi?id=15502
--- Comment #2 from Timothee Cour <timothee.cour2 at gmail.com> ---
so the following works:
core.time.MonoTime.currTime.ticks.nsecs.total!"nsecs"
therefore the deprecation message should be reflecting one to use that instead
(or link to some explanation or this bug) instead of: 'Deprecation: function
std.datetime.Clock.currSystemTick is deprecated - Use
core.time.MonoTime.currTime instead'
--
More information about the Digitalmars-d-bugs
mailing list