[Issue 14192] Access Violation when assigning to shared AA
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Feb 17 06:50:38 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14192
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schveiguy at yahoo.com
Hardware|x86_64 |All
OS|Windows |All
--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
It's because of the precise scanning. DMD passes the type info to _aaGetY,
which is actually a wrapper TypeInfo_Shared, but the function is prototyped as
accepting TypeInfo_AssociativeArray.
See my comment here:
https://github.com/D-Programming-Language/druntime/pull/1037#issuecomment-74678635
--
More information about the Digitalmars-d-bugs
mailing list