summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-11-28 06:45:29 +0000
committerPaul Phillips <paulp@improving.org>2010-11-28 06:45:29 +0000
commitb810d8c4012d1b09fa95181790722b60967be3fc (patch)
treefff3563f81f12a92df00ce858bde850067f3aefd /test
parent98569e2464292054c1b5629ad7eff4a4a3dd7381 (diff)
downloadscala-b810d8c4012d1b09fa95181790722b60967be3fc.tar.gz
scala-b810d8c4012d1b09fa95181790722b60967be3fc.tar.bz2
scala-b810d8c4012d1b09fa95181790722b60967be3fc.zip
Did some more polishing on the infamous partial...
Did some more polishing on the infamous partial function error message. No review.
Diffstat (limited to 'test')
-rw-r--r--test/files/neg/type-diagnostics.check3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/neg/type-diagnostics.check b/test/files/neg/type-diagnostics.check
index 62d580a788..0ed9f4631b 100644
--- a/test/files/neg/type-diagnostics.check
+++ b/test/files/neg/type-diagnostics.check
@@ -14,7 +14,8 @@ type-diagnostics.scala:17: error: type mismatch;
def f2[String](s: String) = strings(List(s))
^
type-diagnostics.scala:21: error: missing parameter type for expanded function
-(see SLS 8.5, "Pattern Matching Anonymous Functions")
+The argument types of an anonymous function must be fully known. (SLS 8.5)
+Expected type was: ?
val f = { case 5 => 10 }
^
four errors found