[Issue 10619] Ambiguous mangling of local variable alias arguments to templates

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 26 23:47:03 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=10619

moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |moonlightsentinel at disroot.o
                   |                            |rg
         Resolution|DUPLICATE                   |---

--- Comment #7 from moonlightsentinel at disroot.org ---
This issue remains when when (static) variables receive different manglings
(see [1][2]).

The problem is that the compiler treats those template instances as duplicates
due to the bug in `Dsymbol.equals`.

[1] https://github.com/dlang/dmd/pull/12119
[2] https://github.com/dlang/dmd/pull/12235

--


More information about the Digitalmars-d-bugs mailing list