aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/name-lookup-stable.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/name-lookup-stable.check')
-rw-r--r--tests/untried/neg/name-lookup-stable.check11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/untried/neg/name-lookup-stable.check b/tests/untried/neg/name-lookup-stable.check
new file mode 100644
index 000000000..751df9505
--- /dev/null
+++ b/tests/untried/neg/name-lookup-stable.check
@@ -0,0 +1,11 @@
+name-lookup-stable.scala:15: error: reference to PrimaryKey is ambiguous;
+it is both defined in class A and imported subsequently by
+import ColumnOption._
+ (null: Any) match { case PrimaryKey => }
+ ^
+name-lookup-stable.scala:17: error: reference to PrimaryKey is ambiguous;
+it is both defined in class A and imported subsequently by
+import ColumnOption._
+ PrimaryKey // was already ambigious in 2.10.3
+ ^
+two errors found