summaryrefslogtreecommitdiff
path: root/test/files/neg/t5340.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-01-13 13:07:52 +0100
committerJason Zaugg <jzaugg@gmail.com>2013-01-13 13:07:52 +0100
commit1212af48f474bc392b73d29f4719b5ff8d0a66fa (patch)
tree0afdf1d792e9dd3071fee5318ac56a8a98aad807 /test/files/neg/t5340.check
parent9ea0a208346e86031a58fa9c28daf6103778a02f (diff)
downloadscala-1212af48f474bc392b73d29f4719b5ff8d0a66fa.tar.gz
scala-1212af48f474bc392b73d29f4719b5ff8d0a66fa.tar.bz2
scala-1212af48f474bc392b73d29f4719b5ff8d0a66fa.zip
SI-5340 Change println to log
An esoteric implicit search could trigger an "amb prefix ..." message to standard out. Now the message has been improved and sent to the logger.
Diffstat (limited to 'test/files/neg/t5340.check')
-rw-r--r--test/files/neg/t5340.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t5340.check b/test/files/neg/t5340.check
new file mode 100644
index 0000000000..2de19293c4
--- /dev/null
+++ b/test/files/neg/t5340.check
@@ -0,0 +1,6 @@
+t5340.scala:17: error: type mismatch;
+ found : MyApp.r.E
+ required: MyApp.s.E
+ println(b: s.E)
+ ^
+one error found