From ed63344a2dae7731c01737102fbe12b7ad10ba77 Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Thu, 14 Jul 2016 13:23:44 -0700 Subject: SI-2458 Make spec example live test Synchronize the live test with the spec update, which is trivial. Also add a neg test showing that an imported name remains ambiguous even if it resolves to the definition in scope with which it is ambiguous. --- test/files/neg/specification-scopes/P_1.scala | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test/files/neg/specification-scopes/P_1.scala') diff --git a/test/files/neg/specification-scopes/P_1.scala b/test/files/neg/specification-scopes/P_1.scala index 3b11f1167d..50c306fd67 100644 --- a/test/files/neg/specification-scopes/P_1.scala +++ b/test/files/neg/specification-scopes/P_1.scala @@ -1,6 +1,7 @@ -package P { - object X { val x = 1; val y = 2; } +package p { + object X { val x = 1; val y = 2 } } -package Q { - object X { val x = true; val y = "" } + +package q { + object X { val x = true; val y = false } } -- cgit v1.2.3