blob: 44aa9471d5a6cbf4b4adf079d221ea8f335d0473 (
plain) (
tree)
|
|
// #3112
object Test {
def main(args: Array[String]): Unit = {
println((Vector() ++ (0 until 32)) take 0) // works
println((Vector() ++ (0 until 33)) take 0) // error
println((Vector() ++ (0 until 32)) takeRight 0) // works
println((Vector() ++ (0 until 33)) takeRight 0) // error
}
}
|