summaryrefslogtreecommitdiff
path: root/test/files/run/withIndex.scala
diff options
context:
space:
mode:
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 6d470878d9..f0c3e7a468 100644
--- a/test/files/run/withIndex.scala
+++ b/test/files/run/withIndex.scala
@@ -19,7 +19,7 @@ object Test {
val emptyArray = new Array[String](0)
val emptyList: List[String] = Nil
val emptyIterator = emptyList.elements
- val emptyStream = Stream.empty
+ val emptyStream: Stream[String] = Stream.empty
Console.println(emptyArray.zipWithIndex.toList)
Console.println(emptyList.zipWithIndex.toList)