summaryrefslogtreecommitdiff
path: root/test/files/neg/imp2.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2006-03-27 13:34:36 +0000
committerMartin Odersky <odersky@gmail.com>2006-03-27 13:34:36 +0000
commiteccdddcc73dc532885abaee500e1b35953723d5a (patch)
treeac87a68be1d9325a58a5ccbb198bd58001f0cf5d /test/files/neg/imp2.check
parentd0d3ec60983897a0d7b54b8fc74acb1adffa2e18 (diff)
downloadscala-eccdddcc73dc532885abaee500e1b35953723d5a.tar.gz
scala-eccdddcc73dc532885abaee500e1b35953723d5a.tar.bz2
scala-eccdddcc73dc532885abaee500e1b35953723d5a.zip
1.
2. Cleaned up search of implicit names to make it conformant to the spec. 3. Made Sean's SOURCE CHANGE messages dependent on option -debug.
Diffstat (limited to 'test/files/neg/imp2.check')
-rw-r--r--test/files/neg/imp2.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/imp2.check b/test/files/neg/imp2.check
new file mode 100644
index 0000000000..2daca73bf3
--- /dev/null
+++ b/test/files/neg/imp2.check
@@ -0,0 +1,7 @@
+imp2.scala:18 error: reference to f is ambiguous;
+it is imported twice in the same scope by
+import b.{_}
+and import a.{_}
+ val x = f
+ ^
+one error found