summaryrefslogtreecommitdiff
path: root/test/files/neg/t5493.scala
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.scala
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.scala')
-rw-r--r--test/files/neg/t5493.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/neg/t5493.scala b/test/files/neg/t5493.scala
new file mode 100644
index 0000000000..459cf53bbd
--- /dev/null
+++ b/test/files/neg/t5493.scala
@@ -0,0 +1,3 @@
+object Test {
+ def meh(xs: Any): Any = xs :: iDontExist :: Nil
+}