summaryrefslogtreecommitdiff
path: root/test/files/neg/type-diagnostics.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-11-26 23:53:26 +0000
committerPaul Phillips <paulp@improving.org>2010-11-26 23:53:26 +0000
commit72d12aabf35f699ef103d79f29f8f7b21286d94c (patch)
treed2010d12e1dcc9705a9c7ff3b1005e728c04cc16 /test/files/neg/type-diagnostics.check
parent5be89bb3bf95f9a11773273fee5d692e4a9a7f03 (diff)
downloadscala-72d12aabf35f699ef103d79f29f8f7b21286d94c.tar.gz
scala-72d12aabf35f699ef103d79f29f8f7b21286d94c.tar.bz2
scala-72d12aabf35f699ef103d79f29f8f7b21286d94c.zip
Some work on error messages, somewhat based on ...
Some work on error messages, somewhat based on ideas in #3092. No review.
Diffstat (limited to 'test/files/neg/type-diagnostics.check')
-rw-r--r--test/files/neg/type-diagnostics.check6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/files/neg/type-diagnostics.check b/test/files/neg/type-diagnostics.check
index 33e07f3816..62d580a788 100644
--- a/test/files/neg/type-diagnostics.check
+++ b/test/files/neg/type-diagnostics.check
@@ -13,4 +13,8 @@ type-diagnostics.scala:17: error: type mismatch;
required: java.lang.String
def f2[String](s: String) = strings(List(s))
^
-three errors found
+type-diagnostics.scala:21: error: missing parameter type for expanded function
+(see SLS 8.5, "Pattern Matching Anonymous Functions")
+ val f = { case 5 => 10 }
+ ^
+four errors found