summaryrefslogtreecommitdiff
path: root/test/files/neg/type-diagnostics.scala
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.scala
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.scala')
-rw-r--r--test/files/neg/type-diagnostics.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/type-diagnostics.scala b/test/files/neg/type-diagnostics.scala
index fdc0978138..fcc49812f4 100644
--- a/test/files/neg/type-diagnostics.scala
+++ b/test/files/neg/type-diagnostics.scala
@@ -16,3 +16,7 @@ object TParamConfusion {
def f2[String](s: String) = strings(List(s))
}
+
+object PartialInfer {
+ val f = { case 5 => 10 }
+} \ No newline at end of file