[Issue 13855] Allow multiple selective imports from different modules in a single import statement

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 26 18:28:38 UTC 2017


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

--- Comment #9 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/05854166c7a67f27b33f5a5670d8956e738b4881
fix Issue 13855 - multi-module selective import statements

- fixes the grammar inconsistency that import statements can import multiple
modules,
  but selective imports have to be in separate statements
- allow to add further `mod : sym1, sym2` blocks to import statement
- only allow non-ambiguous variations (requiring look-ahead of 2 tokens)

https://github.com/dlang/dmd/commit/00b6a4c9a752f1c1ffc21c988efc55b6d43c156d
Merge pull request #6589 from MartinNowak/enh13855

fix Issue 13855 - multi-module selective import statements

--


More information about the Digitalmars-d-bugs mailing list