aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-01-31 23:55:27 +0100
committerMartin Odersky <odersky@gmail.com>2016-02-09 09:43:06 +0100
commita0fb0685fcfc5e988e0d033af26c1055269488e5 (patch)
tree71916852f90187a91a99fdbe4ca3ca17a94f860c /test
parente87dee212351aa7acb15760814cdd1c30c4de019 (diff)
downloaddotty-a0fb0685fcfc5e988e0d033af26c1055269488e5.tar.gz
dotty-a0fb0685fcfc5e988e0d033af26c1055269488e5.tar.bz2
dotty-a0fb0685fcfc5e988e0d033af26c1055269488e5.zip
Handle imports in path checks.
If `T` is a member of `p` then { import p._; ... T ... } should be checked in the same way as { ... p.T ... }
Diffstat (limited to 'test')
-rw-r--r--test/dotc/tests.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 81fc277fa..e1a10a6e2 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -162,7 +162,7 @@ class tests extends CompilerTest {
@Test def neg_i803 = compileFile(negDir, "i803", xerrors = 2)
@Test def neg_i866 = compileFile(negDir, "i866", xerrors = 2)
@Test def neg_i974 = compileFile(negDir, "i974", xerrors = 2)
- @Test def neg_i1050 = compileFile(negDir, "i1050", xerrors = 6)
+ @Test def neg_i1050 = compileFile(negDir, "i1050", xerrors = 8)
@Test def neg_i1050a = compileFile(negDir, "i1050a", xerrors = 2)
@Test def neg_moduleSubtyping = compileFile(negDir, "moduleSubtyping", xerrors = 4)
@Test def neg_escapingRefs = compileFile(negDir, "escapingRefs", xerrors = 2)