Summary: Cannot add a Variant to associative array
           Product: D
           Version: 2.020
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Phobos
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]

import std.variant;

void main()
    Variant[string] a;
    Variant v = 1;
    a["wut?"] = v;
[EMAIL PROTECTED](23): Array index out of bounds

Key type is irrelevant.


Reply via email to