We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01f7947 + c0a977a commit 284eee7Copy full SHA for 284eee7
tests/run/t3529.scala
@@ -8,8 +8,7 @@ object Test {
8
assert((10 to 1 by -1 drop 9) == Seq(1))
9
10
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.
+ assert((1 until 10 drop 9) == Nil)
13
14
assert(Stream(1 to 10).flatten.toList == Stream(1 until 11).flatten.toList)
15
}
0 commit comments