[Issue 15017] New: 2.068.1-b2 regression: assigning a Variant to be value in a hashmap

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 5 09:23:10 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=15017

          Issue ID: 15017
           Summary: 2.068.1-b2 regression: assigning a Variant to be value
                    in a hashmap
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: tcdknutson at gmail.com

It seems that Phobos no longer handles a variant being assigned to a value in a
hashmap.

Tested to be working in v2.068.0. 

Reduced test case: 

```
import std.variant ;
class TempleContext
{
  // context variables
  Variant[string] vars;


  ref var(string name)
  {
      vars[name] = Variant();

  }

}
```

--


More information about the Digitalmars-d-bugs mailing list