Is there a reason that match written against Seq would work differently on IndexedSeq types than the way it does on LinearSeq
match
Seq
IndexedSeq
LinearSeq
Followed pattern match works for List, Seq, LinearSeq, IndexedSeq, Vector.
List
Vector
Vector(1,2) match { case a +: as => s"$a + $as" case _ => "empty" }