On Wednesday, 16 July 2014 at 17:24:27 UTC, H. S. Teoh via
Digitalmars-d wrote:
Today I was investigating this bug:
https://issues.dlang.org/show_bug.cgi?id=10619
and found that the problem appears to be an ambiguous mangling
of local variables declared in nested scopes. <...>
Amazing how such a bug survived until now!
Can all (meaningful) scopes of a module be numbered internally to
distinguish them? Some way, like lambdas are. Or is it too much
of a change?
If they can, the scope's unique ID can then go into the mangled
name.
Ivan Kazmenko.