diff options
author | Martin Odersky <odersky@gmail.com> | 2006-10-20 13:37:17 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-10-20 13:37:17 +0000 |
commit | f9e5afd36a8a241abc86c80197d8fbe10488280e (patch) | |
tree | 0210b277aeabea10dc8eca0dc96171dcd5934976 /test/files/run | |
parent | f3f8f974bf0ebbe4746fbe83103566e71e8b1e7c (diff) | |
download | scala-f9e5afd36a8a241abc86c80197d8fbe10488280e.tar.gz scala-f9e5afd36a8a241abc86c80197d8fbe10488280e.tar.bz2 scala-f9e5afd36a8a241abc86c80197d8fbe10488280e.zip |
fixed problems in type patterns
made some type error messages more precise
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/lisp.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/lisp.scala b/test/files/run/lisp.scala index f12196ca50..bf895f2349 100644 --- a/test/files/run/lisp.scala +++ b/test/files/run/lisp.scala @@ -287,7 +287,7 @@ object LispAny extends Lisp { } def asList(x: Data): List[Data] = x match { - case y: List[Data] => y + case y: List[_] => y case _ => lispError("malformed list: " + x) } |