summaryrefslogtreecommitdiff
path: root/test/files/neg/t5493.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/t5493.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/t5493.check')
-rw-r--r--test/files/neg/t5493.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t5493.check b/test/files/neg/t5493.check
new file mode 100644
index 0000000000..78b1536bc7
--- /dev/null
+++ b/test/files/neg/t5493.check
@@ -0,0 +1,4 @@
+t5493.scala:2: error: not found: value iDontExist
+ def meh(xs: Any): Any = xs :: iDontExist :: Nil
+ ^
+one error found