diff --git a/community-build/community-projects/scodec b/community-build/community-projects/scodec index 620880b81bff..d0f7c37a62b2 160000 --- a/community-build/community-projects/scodec +++ b/community-build/community-projects/scodec @@ -1 +1 @@ -Subproject commit 620880b81bff1cb365f28ff4cbf93e799265bf4d +Subproject commit d0f7c37a62b2b0cafe56decfd73c230642c3c519 diff --git a/community-build/community-projects/upickle b/community-build/community-projects/upickle index 3f7fad929254..b7c969f72e34 160000 --- a/community-build/community-projects/upickle +++ b/community-build/community-projects/upickle @@ -1 +1 @@ -Subproject commit 3f7fad929254b35f7788c7d5795d8c4e2a1313b2 +Subproject commit b7c969f72e344065daad9c9d12761ee55cf43e88 diff --git a/library/src/scala/deriving/Helpers.scala b/library/src/scala/deriving/Helpers.scala deleted file mode 100644 index 02404ee50cc8..000000000000 --- a/library/src/scala/deriving/Helpers.scala +++ /dev/null @@ -1,21 +0,0 @@ -package scala.deriving - -/** Helper class to turn arrays into products */ -@deprecated("explicitly create a `new Product {...}` wrapper for the array or use `Tuple.fromArray`", "3.0.0-M2") -class ArrayProduct(val elems: Array[AnyRef]) extends Product { - def this(size: Int) = this(new Array[AnyRef](size)) - def canEqual(that: Any): Boolean = true - def productElement(n: Int): Any = elems(n) - def productArity: Int = elems.length - override def productIterator: Iterator[Any] = elems.iterator - def update(n: Int, x: Any): Unit = elems(n) = x.asInstanceOf[AnyRef] -} - -/** The empty product */ -@deprecated("use EmptyTuple instead", "3.0.0-M2") -object EmptyProduct extends ArrayProduct(Array.emptyObjectArray) - -/** Helper method to select a product element */ -@deprecated("use x.asInstanceOf[Product].productElement(idx).asInstanceOf[T] instead", "3.0.0-M2") -def productElement[T](x: Any, idx: Int): T = - x.asInstanceOf[Product].productElement(idx).asInstanceOf[T]