@MoonlightSentinel created dlang/dmd pull request #13271 "Fix 22042 - Merge `funcptr` type before merging `TypeDelegate`'s" fixing this issue:
- Fix 22042 - Merge `funcptr` type before merging `TypeDelegate`'s
Ensures that `deco` is set for the `funcptr` (`next`) whenever possible
s.t. `merge` doesn't exit early in the `default` case.
Previously `TypeDelegate`s without `deco` could reach the `TypeInfo`
generation and trigger the assertion due to the missing mangling string.
Also could cause problems with non-unique types but didn't find a
test case (yet?).
https://github.com/dlang/dmd/pull/13271
Comment #6 by robert.schadek — 2024-12-13T19:17:07Z