Closed lrytz closed 6 years ago
This is similar to methods like +
that build a new collection but could easily mistaken for in-place updates and are therefore only defined (and not deprecated) for immutable collections. We should consider deprecating collection.Seq.updated
as well.
@szeiger We eventually pulled the +:
and :+
operations of collection.immutable.Seq
to collection.Seq
, without deprecating them.
Can work around with
collection.Seq(1).patch(0, List(2), 1)
...Once fixed, revert fix
TODO-newColl
intest/files/run/t5328.scala
.