summaryrefslogtreecommitdiff
path: root/test/files/run/lisp.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2006-10-20 13:37:17 +0000
committerMartin Odersky <odersky@gmail.com>2006-10-20 13:37:17 +0000
commitf9e5afd36a8a241abc86c80197d8fbe10488280e (patch)
tree0210b277aeabea10dc8eca0dc96171dcd5934976 /test/files/run/lisp.scala
parentf3f8f974bf0ebbe4746fbe83103566e71e8b1e7c (diff)
downloadscala-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/lisp.scala')
-rw-r--r--test/files/run/lisp.scala2
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)
}