[Issue 22042] shared(delegate[]) causes dmd to fail
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 5 23:46:57 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22042
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
@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
--
More information about the Digitalmars-d-bugs
mailing list