[Issue 23686] template instance reused with default alias arg
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 1 22:39:22 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23686
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #15771 "merge stable" was merged into master:
- 26f706a9ddc760d585e4c0eb9d18dc354158426c by SixthDot:
fix issue 23686 - TemplateAliasParam default value possibly considered equal
in different instances (#15679)
The default arg might depend on another TemplateParameter,
in which case it is required to copy the AST, otherwise
different instances of the template might be falsy considered equal.
https://github.com/dlang/dmd/pull/15771
--
More information about the Digitalmars-d-bugs
mailing list