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.
1 parent bcaaa38 commit df75369Copy full SHA for df75369
tests/run/t3529.scala
@@ -8,7 +8,8 @@ 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)
+ assert((1 until 10 drop 9) == (Nil: List[Int]))
12
+ // investigate why we need the type annotation here. See #2567.
13
14
assert(Stream(1 to 10).flatten.toList == Stream(1 until 11).flatten.toList)
15
}
0 commit comments