aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/typedIdents
diff options
context:
space:
mode:
Diffstat (limited to 'tests/neg/typedIdents')
-rw-r--r--tests/neg/typedIdents/typedIdents.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/neg/typedIdents/typedIdents.scala b/tests/neg/typedIdents/typedIdents.scala
index 4937edfe3..56acfc231 100644
--- a/tests/neg/typedIdents/typedIdents.scala
+++ b/tests/neg/typedIdents/typedIdents.scala
@@ -12,13 +12,13 @@ package P { // `X' bound by package clause
println("L12: " + x) // `x' refers to constant `3' here
locally {
import Q.X._ // `x' and `y' bound by wildcard import
- println("L14: " + x) // reference to `x' is ambiguous here
+ println("L14: " + x) // error: reference to `x' is ambiguous here
import X.y // `y' bound by explicit import
println("L16: " + y) // `y' refers to `Q.X.y' here
locally {
import P.X._ // `x' and `y' bound by wildcard import
val x = "abc" // `x' bound by local definition
- println("L19: " + y) // reference to `y' is ambiguous here
+ println("L19: " + y) // error: reference to `y' is ambiguous here
println("L20: " + x) // `x' refers to string ``abc'' here
}
}