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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 4 09:15:07 UTC 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12166 "[stable] Fix Issue 21591 - missed backrefs in
mangled names wrt. unmerged function types" was merged into stable:

- 580d65d61e75b9a3724981a52ae67dcc0d9010bd by Martin Kinkelin:
  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