[Issue 14541] "duplicate COMDAT" linker error with the template forward reference in Tuple.opAssign

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 3 23:07:40 UTC 2020


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
I found the test case link14541.d completely baffling. The comment says "If
instantiated contexts are different" but the whole idea is that templates in
different contexts have different instantiations. This makes no sense. It
should give an appropriate forward reference error. Likely the whole PR #4814
should be reverted as it makes no sense.

--


More information about the Digitalmars-d-bugs mailing list