digitalmars.D.bugs - [Issue 2034] New: Change "TypeInfo keyti" passed into associative array runtime code to "TypeInfo_AssociativeArray ti" so info for both key and value is available

http://d.puremagic.com/issues/show_bug.cgi?id=2034
Summary: Change "TypeInfo keyti" passed into associative array
runtime code to "TypeInfo_AssociativeArray ti" so info
for both key and value is available
Product: D
Version: 1.028
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: bugzilla digitalmars.com
ReportedBy: sean invisibleduck.org
GC type awareness for associative arrays in D is currently a bit weak because
only the type of the key is typically available. This is really only an issue
for the 'values' properties right now, but other AA implementations may be able
to take advantage of type awareness for GC purposes. It would be nice if the
TypeInfo for the AA itself could be passed into the runtime routines instead of
the TypeInfo for just the key.
--