Skip to content

Commit c0a977a

Browse files
committed
Fix #2567: Remove type annotation in test case
1 parent 7cd176f commit c0a977a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/run/t3529.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ 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: List[Int]))
12-
// investigate why we need the type annotation here. See #2567.
11+
assert((1 until 10 drop 9) == Nil)
1312

1413
assert(Stream(1 to 10).flatten.toList == Stream(1 until 11).flatten.toList)
1514
}

0 commit comments

Comments
 (0)