import collection.GenSeq object Test { def main(args: Array[String]): Unit = { val Seq(1, 2) = Stream(1, 2) } }