https://issues.dlang.org/show_bug.cgi?id=14831
--- Comment #14 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #12253 "merge stable" was merged into master: - 8b653c5629b930fe8bf956b4be109781f67cb59a by MoonlightSentinel: Fix 14831 - Each function local symbols should have unique mangled name PR #12119 already fixed collisions for several declarations but missed local variables. The check for `isDataSeg` was a remnant of the old error raised for `static`/`__gshared` variables. Removing it enables the mangling fixup for local variables. Note that this doesn't fix https://issues.dlang.org/show_bug.cgi?id=10619 which is unrelated to the mangling. https://github.com/dlang/dmd/pull/12253 --