Bug 14423 – struct destructors not finalized for AA values
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-04-07T17:32:00Z
Last change time
2017-07-19T17:41:22Z
Keywords
pull
Assigned to
nobody
Creator
code
Comments
Comment #0 by code — 2015-04-07T17:32:45Z
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.