http://d.puremagic.com/issues/show_bug.cgi?id=10357
Summary: std.typecons.Nullable!(SysTime).Nullable.__ctor!()
error instantiating
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Mario Kroeplin <[email protected]> 2013-06-14
10:15:10 PDT ---
With D 2.063, the following code does no longer compile:
import std.datetime;
import std.typecons;
unittest
{
Nullable!SysTime time = SysTime(0);
}
The error message is:
/src/phobos/std/typecons.d(1178): Error: mutable method
std.datetime.SysTime.opAssign is not callable using a inout object
Error: template instance std.typecons.Nullable!(SysTime).Nullable.__ctor!()
error instantiating
The fix for Issue 10268 doesn't help.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------