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

Reply via email to