diff options
author | Martin Odersky <odersky@gmail.com> | 2016-11-03 20:29:13 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-11-03 20:29:21 +0100 |
commit | 8c857cd29f48c3c2badfd37a7f22e8a24929d796 (patch) | |
tree | 10ad861352bb6db2159896236c06262ec1cdea16 /tests/pos/i1638.scala | |
parent | 98a92c6f4ec743edb9465071dcfd43f17dbf054b (diff) | |
download | dotty-8c857cd29f48c3c2badfd37a7f22e8a24929d796.tar.gz dotty-8c857cd29f48c3c2badfd37a7f22e8a24929d796.tar.bz2 dotty-8c857cd29f48c3c2badfd37a7f22e8a24929d796.zip |
Fix #1638: Don't import when typing a package clause
When typing the first identifier of a package clause, disable
imports, as package clauses are never imported.
Fixes #1638.
Diffstat (limited to 'tests/pos/i1638.scala')
-rw-r--r-- | tests/pos/i1638.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pos/i1638.scala b/tests/pos/i1638.scala new file mode 100644 index 000000000..299905aea --- /dev/null +++ b/tests/pos/i1638.scala @@ -0,0 +1,3 @@ +package util.util + +class C |