[Issue 11718] [REG2.065a] Unintended mangled names conflict of nested template structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 16 12:53:36 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11718



--- Comment #3 from github-bugzilla at puremagic.com 2013-12-16 12:53:33 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/71b0fce3a4f2849e82c9ba9972a65a6fee59d42f
fix Issue 11718 - Unintended mangled names conflict of nested template structs

If a symbol has parent, the parent part of the mangled name should also be
unique in each scopes.

Function symbols can have same identifiers in scope, so their parameters part
must be always encoded in their mangled name to distinguish overloads.

When I fixed bug 9271, I had naturally expected that behavior. However sadly
`mangle` function had had a bug.

https://github.com/D-Programming-Language/dmd/commit/95183bfb5265af56d5f03cbfdc8b59d9a7c47789
Merge pull request #2953 from 9rnsr/fix11718

[REG2.065a] Issue 11718 - Unintended mangled names conflict of nested template
structs

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


More information about the Digitalmars-d-bugs mailing list