[Issue 23686] template instance reused with default alas arg

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 14 00:03:44 UTC 2023


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@SixthDot created dlang/dmd pull request #15679 "fix issue 23686 -
TemplateAliasParam default value possibly considere…" fixing this issue:

- fix issue 23686 - TemplateAliasParam default value possibly considered equal
in different instances

  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/15679

--


More information about the Digitalmars-d-bugs mailing list