diff options
author | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2012-02-18 01:13:37 +0100 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2012-02-18 01:13:37 +0100 |
commit | b433bdba5aa7d8947032cc15454666c8a4a30115 (patch) | |
tree | a825525c2c98ce106260ac25ee5954210ab8b4cc /test/files/neg/t5497.scala | |
parent | 91148376049a152edec12348ff9b7e9e93e6ebe1 (diff) | |
download | scala-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.scala')
-rw-r--r-- | test/files/neg/t5497.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t5497.scala b/test/files/neg/t5497.scala new file mode 100644 index 0000000000..40d47de12d --- /dev/null +++ b/test/files/neg/t5497.scala @@ -0,0 +1,5 @@ +object TestQueryable extends App{ + ({ + case other => println(null.asInstanceOf[sq.Filter].tableName) + } : Any => Unit)(null) +} |