Thread overview
[Issue 20840] No deprecation when using template from deprecated selective import
May 18, 2020
Dlang Bot
May 23, 2020
Dlang Bot
May 18, 2020
https://issues.dlang.org/show_bug.cgi?id=20840

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|No deprecation when using   |No deprecation when using
                   |symbol from deprecated      |template from deprecated
                   |selective import            |selective import

--
May 18, 2020
https://issues.dlang.org/show_bug.cgi?id=20840

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

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

--- Comment #1 from Dlang Bot <dlang-bot@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

--
May 23, 2020
https://issues.dlang.org/show_bug.cgi?id=20840

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11158 "Fix Issue 20840 - No deprecation for template from deprecated selecti…" was merged into master:

- d233c3926c560d262adc6d963b2f7e432130e0d1 by MoonlightSentinel:
  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

--