Ambiguous mangling of symbols declared in nested scopes

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 17 05:10:02 PDT 2014


On Thursday, 17 July 2014 at 10:03:08 UTC, Daniel Murphy wrote:
> The solution is also fairly straightforward - give each local 
> declaration a unique name (for mangling only).  It probably 
> requires some minor structural changes in dmd.

As an aside, these names should be independent of 
import/instantiation order for things like forceinline to work 
properly (see https://github.com/jerro/ldc/compare/inlining, last 
commit).

David


More information about the Digitalmars-d mailing list