diff --git a/shared/src/main/scala/VList.scala b/shared/src/main/scala/VList.scala index fdf90ae5c..ec20c3194 100644 --- a/shared/src/main/scala/VList.scala +++ b/shared/src/main/scala/VList.scala @@ -101,10 +101,10 @@ class VList private (val lst: Seq[VAny]) end VList object VList extends SpecificIterableFactory[VAny, VList]: - def from(it: Seq[VAny]): VList = + def from(it: Seq[VAny]): VList = if it.isInstanceOf[VList] then it else new VList(it) - + /** Zip multiple VLists together with a function. *