[Issue 21591] Mangling problem wrt. backrefs and function types

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 29 18:23:43 UTC 2021


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@kinke created dlang/dmd pull request #12166 "[stable] Fix Issue 21591 - missed
backrefs in mangled names wrt. unmerged function types" fixing this issue:

- Fix Issue 21591 - missed backrefs in mangled names wrt. unmerged function
types

  TypeFunctions are apparently special and not merged, so make sure to
  use the generic merged function type as backref cache key.

  Unfortunately, this requires special care to prevent an infinite
  recursion, as merging is based on mangling.

https://github.com/dlang/dmd/pull/12166

--


More information about the Digitalmars-d-bugs mailing list