[Issue 20821] Aliased template method confuses overload resolution
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 11 21:28:26 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20821
Basile-z <b2.temp at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
CC| |b2.temp at gmx.com
--- Comment #2 from Basile-z <b2.temp at gmx.com> ---
overload insertion in the problematic example happens here:
https://github.com/dlang/dmd/blob/b81f10c4b62bb55813f031ee18ef7f4d08cfcb80/src/dmd/declaration.d#L784-L791
something is missing when the symbol is a OverDeclaration created at this
place. When replaced with an OverloadSet the TC works but a couple of things
break in the test suite.
--
More information about the Digitalmars-d-bugs
mailing list