diff options
author | Paul Phillips <paulp@improving.org> | 2013-10-12 10:51:06 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-10-12 10:51:06 -0700 |
commit | 72736f7238616f4e56a0ee28e9d204d95e81107f (patch) | |
tree | 43e1bb16ed50dd42df67ee1300883a3f65959e5d /test/files/neg/t7895.scala | |
parent | ede4a958aa79aa07ed62283fc74314f2611d3dc4 (diff) | |
parent | 83feb8609161bf19247a8a310f8c5a9e3d8469f5 (diff) | |
download | scala-72736f7238616f4e56a0ee28e9d204d95e81107f.tar.gz scala-72736f7238616f4e56a0ee28e9d204d95e81107f.tar.bz2 scala-72736f7238616f4e56a0ee28e9d204d95e81107f.zip |
Merge pull request #3024 from retronym/ticket/7895
SI-7895 Error reporting: avoid cascading, truncation
Diffstat (limited to 'test/files/neg/t7895.scala')
-rw-r--r-- | test/files/neg/t7895.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t7895.scala b/test/files/neg/t7895.scala new file mode 100644 index 0000000000..87a586a82d --- /dev/null +++ b/test/files/neg/t7895.scala @@ -0,0 +1,6 @@ +class A { + (null: Any) match { + // We don't want "symbol not found errors" for `a` and `b` in the case body. + case Goop(a, b, c) => Tuple2(a, b) + } +} |