summaryrefslogtreecommitdiff
path: root/test/files/run/Course-2002-07.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2007-06-22 13:01:42 +0000
committerMartin Odersky <odersky@gmail.com>2007-06-22 13:01:42 +0000
commitc717018a844dd547eec04ed95dc9edaa4dd9c2d3 (patch)
treebad4cd654574ff4a67d63ceebcd62f7498b04df3 /test/files/run/Course-2002-07.scala
parentb5df8e35174b78f7ab83ed0483af47b41fbbeae7 (diff)
downloadscala-c717018a844dd547eec04ed95dc9edaa4dd9c2d3.tar.gz
scala-c717018a844dd547eec04ed95dc9edaa4dd9c2d3.tar.bz2
scala-c717018a844dd547eec04ed95dc9edaa4dd9c2d3.zip
fixed test files.
Diffstat (limited to 'test/files/run/Course-2002-07.scala')
-rw-r--r--test/files/run/Course-2002-07.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/Course-2002-07.scala b/test/files/run/Course-2002-07.scala
index 2f40b96d4f..b084a35e73 100644
--- a/test/files/run/Course-2002-07.scala
+++ b/test/files/run/Course-2002-07.scala
@@ -217,7 +217,7 @@ object M5 {
object M6 {
- def zipFun[a,b](xs:List[a], ys:List[b]):List[Pair[a,b]] = Pair(xs,ys) match {
+ def zipFun[a,b](xs:List[a], ys:List[b]):List[Pair[a,b]] = (Pair(xs,ys): @unchecked) match {
// !!! case Pair(List(), _), Pair(_, List()) => List()
case Pair(x :: xs1, y :: ys1) => Pair(x, y) :: zipFun(xs1, ys1)
}