From 2df4f8192ee6d4116c0d48a2b5a41f3327ffe489 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 23 May 2023 16:59:34 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- shared/src/main/scala/VList.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. *