Skip to content

Commit

Permalink
Revert "fix Issue 13855 - multi-module selective import statements"
Browse files Browse the repository at this point in the history
This reverts commit 0585416.
  • Loading branch information
wilzbach committed Feb 23, 2018
1 parent 08e3b8f commit ddbdfb4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 46 deletions.
19 changes: 0 additions & 19 deletions changelog/multi_module_selective_imports.dd

This file was deleted.

7 changes: 1 addition & 6 deletions src/dmd/parse.d
Original file line number Diff line number Diff line change
Expand Up @@ -3275,14 +3275,9 @@ final class Parser(AST) : Lexer
_alias = null;
}
s.addAlias(name, _alias);
if (token.value != TOK.comma)
break;
// recognize import pkg.mod1 : a, b, pkg.mod2;
if (peekNext2 == TOK.dot || // pkg . mod2
peekNext2 == TOK.colon) // mod2 : c
break; // parse another import
}
while (token.value == TOK.comma);
break; // no comma-separated imports of this form
}
aliasid = null;
}
Expand Down
3 changes: 0 additions & 3 deletions test/compilable/enh13855.d

This file was deleted.

8 changes: 0 additions & 8 deletions test/fail_compilation/enh13855a.d

This file was deleted.

10 changes: 0 additions & 10 deletions test/fail_compilation/enh13855b.d

This file was deleted.

0 comments on commit ddbdfb4

Please sign in to comment.