[Issue 11281] New: Range violation for associative array with Nullable!SysTime values

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 16 04:33:56 PDT 2013


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

           Summary: Range violation for associative array with
                    Nullable!SysTime values
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: kroeplin.d at googlemail.com


--- Comment #0 from Mario Kroeplin <kroeplin.d at googlemail.com> 2013-10-16 04:33:55 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list