[Issue 10357] std.typecons.Nullable!(SysTime).Nullable.__ctor!() error instantiating
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 15 13:13:50 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10357
Jesse Phillips <Jesse.K.Phillips+D at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Jesse.K.Phillips+D at gmail.co
| |m
--- Comment #1 from Jesse Phillips <Jesse.K.Phillips+D at gmail.com> 2013-07-15 13:13:48 PDT ---
(In reply to comment #0)
> With D 2.063, the following code does no longer compile:
>
> import std.datetime;
> import std.typecons;
>
> unittest
> {
> Nullable!SysTime time = SysTime(0);
> }
A work around is:
unittest {
Nullable!SysTime time;
time = SysTime(0);
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list