Skip to content

Commit df75369

Browse files
committed
Temporary fix for test case
1 parent bcaaa38 commit df75369

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/run/t3529.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ object Test {
88
assert((10 to 1 by -1 drop 9) == Seq(1))
99

1010
assert((1 to 10 drop 9) == Seq(10))
11-
assert((1 until 10 drop 9) == Nil)
11+
assert((1 until 10 drop 9) == (Nil: List[Int]))
12+
// investigate why we need the type annotation here. See #2567.
1213

1314
assert(Stream(1 to 10).flatten.toList == Stream(1 until 11).flatten.toList)
1415
}

0 commit comments

Comments
 (0)