Skip to content

Commit 284eee7

Browse files
authored
Merge pull request #3756 from dotty-staging/fix-#2597
Fix #2567: Remove type annotation in test case
2 parents 01f7947 + c0a977a commit 284eee7

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)