Open
Description
val rand = new scala.util.Random()
This works fine
val a = rand.shuffle(0 to 5)
But this gives an error:
val a = rand.shuffle(0 until 5)
<console>:9: error: Cannot construct a collection of type scala.collection.AbstractSeq[Int] with elements of type Int based on a collection of type scala.collection.AbstractSeq[Int].
val a = rand.shuffle(0 until 5)