[Issue 20840] No deprecation when using template from deprecated selective import
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 18 16:42:23 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20840
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #11158 "Fix Issue 20840 - No
deprecation for template from deprecated selecti…" fixing this issue:
- Fix Issue 20840 - No deprecation for template from deprecated selective
import
Selective imports are lowered to an AliasDeclarations which were discarded
when
resolving the actual TemplateDeclaration. So make sure to check the AD as
well.
https://github.com/dlang/dmd/pull/11158
--
More information about the Digitalmars-d-bugs
mailing list