Bug 11281 – Range violation for associative array with Nullable!SysTime values
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2013-10-16T04:33:00Z
Last change time
2013-10-19T23:40:58Z
Assigned to
nobody
Creator
kroeplin.d
Comments
Comment #0 by kroeplin.d — 2013-10-16T04:33:55Z
With dmd 2.064 (beta 1), the following code results in a Range violation:
unittest
{
import std.datetime;
import std.typecons;
Nullable!SysTime[string] aa = null;
aa["foo"] = Clock.currTime;
}
core.exception.RangeError: Range violation
With dmd 2.063.2, the unittest passes.