[Issue 11730] New: associative array with Nullable!SysTime values: Called `get' on null Nullable!SysTime.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 12 06:31:37 PST 2013
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: nobody at puremagic.com
ReportedBy: kroeplin.d at googlemail.com
--- Comment #0 from Mario Kroeplin <kroeplin.d at googlemail.com> 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();
}
core.exception.AssertError at .dvm/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: -------
More information about the Digitalmars-d-bugs
mailing list