https://d.puremagic.com/issues/show_bug.cgi?id=11730
Summary: associative array with Nullable!SysTime values: Called
`get' on null Nullable!SysTime.
Product: D
Version: D2
Platform: All
OS/Version: Linux
Status: NEW
Severity: regression
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Mario Kroeplin <[email protected]> 2013-12-12
06:31:34 PST ---
The following program throws on D 2.064.2:
import std.datetime;
import std.typecons;
void main()
{
Nullable!SysTime[string] map;
map["foo"] = Nullable!SysTime();
}
[email protected]/compilers/dmd-2.064.2/bin/../src/phobos/std/typecons.d(1233):
Called `get' on null Nullable!SysTime.
It works on D 2.063.2.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------