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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon May 2 08:26:59 PDT 2016


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

--- Comment #2 from github-bugzilla at puremagic.com ---
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

--


More information about the Digitalmars-d-bugs mailing list