www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14423] New: struct destructors not finalized for AA values

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

          Issue ID: 14423
           Summary: struct destructors not finalized for AA values
           Product: D
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

Since 2.067.0 struct allocated on the heap are finalized.
This doesn't work for struct values of associative arrays.

From my undestanding we'd need to construct a synthetic TypeInfo to make this
work, because what gets allocated is a "struct" consisting of the hash, the key, and the value. --
Apr 07 2015