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/run | |
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/run')
-rw-r--r-- | test/files/run/constrained-types.check | 9 | ||||
-rw-r--r-- | test/files/run/repl-reset.check | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/files/run/constrained-types.check b/test/files/run/constrained-types.check index f022aac1b2..d965d8a2ff 100644 --- a/test/files/run/constrained-types.check +++ b/test/files/run/constrained-types.check @@ -138,6 +138,15 @@ scala> val x = 3 : Int @Annot(e+f+g+h) // should have a graceful error message <console>:8: error: not found: value e val x = 3 : Int @Annot(e+f+g+h) // should have a graceful error message ^ +<console>:8: error: not found: value f + val x = 3 : Int @Annot(e+f+g+h) // should have a graceful error message + ^ +<console>:8: error: not found: value g + val x = 3 : Int @Annot(e+f+g+h) // should have a graceful error message + ^ +<console>:8: error: not found: value h + val x = 3 : Int @Annot(e+f+g+h) // should have a graceful error message + ^ scala> diff --git a/test/files/run/repl-reset.check b/test/files/run/repl-reset.check index c6e147977a..ed95c7b8ff 100644 --- a/test/files/run/repl-reset.check +++ b/test/files/run/repl-reset.check @@ -33,6 +33,12 @@ scala> x1 + x2 + x3 <console>:8: error: not found: value x1 x1 + x2 + x3 ^ +<console>:8: error: not found: value x2 + x1 + x2 + x3 + ^ +<console>:8: error: not found: value x3 + x1 + x2 + x3 + ^ scala> val x1 = 4 x1: Int = 4 |