summaryrefslogtreecommitdiff
path: root/test/files/run/withIndex.scala
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2008-02-01 16:40:55 +0000
committerPhilipp Haller <hallerp@gmail.com>2008-02-01 16:40:55 +0000
commit1bb174dd34747868dd49184a9e2ef93d9ba274e4 (patch)
tree495c3af5efd3a6a0b74156b8194e0d453baeb6dc /test/files/run/withIndex.scala
parent3272a4bfb30240e0d83befe1cfed0a0fd2584edd (diff)
downloadscala-1bb174dd34747868dd49184a9e2ef93d9ba274e4.tar.gz
scala-1bb174dd34747868dd49184a9e2ef93d9ba274e4.tar.bz2
scala-1bb174dd34747868dd49184a9e2ef93d9ba274e4.zip
Removed unchecked warning from 'withIndex'
Diffstat (limited to 'test/files/run/withIndex.scala')
-rw-r--r--test/files/run/withIndex.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/withIndex.scala b/test/files/run/withIndex.scala
index d06dde89f0..6d470878d9 100644
--- a/test/files/run/withIndex.scala
+++ b/test/files/run/withIndex.scala
@@ -11,7 +11,7 @@ object Test {
Console.println(str.zipWithIndex.toList)
assert {
ary.zipWithIndex match {
- case _: Array[Pair[String,Int]] => true
+ case _: Array[Pair[_,_]] => true
case _ => false
}
}