We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 174f6e9 commit cfa4490Copy full SHA for cfa4490
library/src/scala/Tuple.scala
@@ -123,7 +123,7 @@ object Tuple {
123
runtime.DynamicTuple.dynamicFromProduct[Tuple](product)
124
125
def fromProductTyped[P <: Product](p: P) given (m: scala.deriving.Mirror.ProductOf[P]): m.MirroredElemTypes =
126
- Tuple.fromArray(p.productIterator.toArray).asInstanceOf[m.MirroredElemTypes]
+ Tuple.fromArray(p.productIterator.toArray).asInstanceOf[m.MirroredElemTypes] // TODO use toIArray of Object to avoid double/triple array copy
127
}
128
129
/** Tuple of arbitrary non-zero arity */
0 commit comments