[Issue 10573] Weird linking problem with associative array cast [DMD 2.63]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 6 22:56:43 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10573



--- Comment #5 from github-bugzilla at puremagic.com 2013-09-06 22:56:41 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/1a4f809768ac94936299929dff205c8bebb008e5
fix Issue 10573 - Weird linking problem with associative array cast

CastExp would call `TypeAArray::getImpl()` in glue layer.

However if the AA type is just only used in the cast expression, the timing is
too late to invoke `getImpl`, because the AA type instantiation may need more
semantic analysis like deferred semantic3.

For the correct instantiation of the `AssociativeArray!(K, V)` type, `getImpl`
should be invoked in front-end layer beforehand.

https://github.com/D-Programming-Language/dmd/commit/b8392c2187e565b1d5c6e1c2ffca4ac527d8c015
Merge pull request #2524 from 9rnsr/fix10573

[REG2.063] Issue 10573 - Weird linking problem with associative array cast

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list