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

--- Comment #2 from [email protected] ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/5c7b6eac2dc7d0ba65d81d10ff7a18fe19313718
[REG 2.071] Fix Issue 15925 - Import declaration from mixin templates are
ignored

There can be 3 types of AST node in `importedScopes`: `Module`, `TemplateMixin`
and `Nspace`.
`MixinTemplate` can also introduce imports, so we need to look into them when
doing the second
search pass.

https://github.com/dlang/dmd/commit/1231eacba1fedc38bf617654b1ba266f95edf345
Merge pull request #5724 from mathias-lang-sociomantic/fix-15925-stable

[REG 2.071] Fix Issue 15925 - Import declaration from mixin templates are
ignored

--

Reply via email to