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


Jesse Phillips <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m


--- Comment #1 from Jesse Phillips <[email protected]> 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: -------

Reply via email to