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

Dlang Bot <[email protected]> changed:

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

--- Comment #1 from Dlang Bot <[email protected]> ---
@Geod24 created dlang/dmd pull request #12178 "Fix 21508: Do not look inside
imports that shadow a symbol" fixing this issue:

- Fix 21508: Do not look inside imports that shadow a symbol

  There was a special case to look inside an import instead of showing
  the conflict. This isn't consistent with the way imports appear to
  the user (e.g. `class std {}` will conflict with `import std.stdio`),
  so we just remove the special case and that solves the issue.

https://github.com/dlang/dmd/pull/12178

--

Reply via email to