summaryrefslogtreecommitdiff
path: root/test/files/neg/t5497.check
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@gmail.com>2012-02-18 01:13:37 +0100
committerHubert Plociniczak <hubert.plociniczak@gmail.com>2012-02-18 01:13:37 +0100
commitb433bdba5aa7d8947032cc15454666c8a4a30115 (patch)
treea825525c2c98ce106260ac25ee5954210ab8b4cc /test/files/neg/t5497.check
parent91148376049a152edec12348ff9b7e9e93e6ebe1 (diff)
downloadscala-b433bdba5aa7d8947032cc15454666c8a4a30115.tar.gz
scala-b433bdba5aa7d8947032cc15454666c8a4a30115.tar.bz2
scala-b433bdba5aa7d8947032cc15454666c8a4a30115.zip
Closes #5497.
Chain contexts by sharing the error buffer, unless you explicitly create a silent context. Review by @odersky
Diffstat (limited to 'test/files/neg/t5497.check')
-rw-r--r--test/files/neg/t5497.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t5497.check b/test/files/neg/t5497.check
new file mode 100644
index 0000000000..fef6d38da0
--- /dev/null
+++ b/test/files/neg/t5497.check
@@ -0,0 +1,4 @@
+t5497.scala:3: error: not found: value sq
+ case other => println(null.asInstanceOf[sq.Filter].tableName)
+ ^
+one error found