blob: 01d976ba0d8ab77062296bd1619b78908a4a1383 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import collection.immutable._
// ticket #3508
object Test {
def main(args: Array[String]) {
assert(Stream.tabulate(123)(_ + 1).toList == List.tabulate(123)(_ + 1))
}
}
|