[Issue 20840] No deprecation when using template from deprecated selective import

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 23 03:42:55 UTC 2020


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

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

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

--- Comment #2 from Dlang Bot <dlang-bot at 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

--


More information about the Digitalmars-d-bugs mailing list