@@ -47,7 +47,7 @@ sealed trait Tuple extends Any {
47
47
val t = asInstanceOf [Tuple4 [_, _, _, _]]
48
48
Tuple5 (x, t._1, t._2, t._3, t._4).asInstanceOf [Result ]
49
49
case Some (n) =>
50
- knowTupleFromArray [H *: this .type ](cons$Array (x, toArray))
50
+ knownTupleFromArray [H *: this .type ](cons$Array (x, toArray))
51
51
case _ =>
52
52
runtime.DynamicTuple .dynamic_*: [This , H ](this , x)
53
53
}
@@ -93,7 +93,7 @@ sealed trait Tuple extends Any {
93
93
}
94
94
95
95
inline def genericConcat [T <: Tuple ](xs : Tuple , ys : Tuple ): Tuple =
96
- knowTupleFromArray [T ](xs.toArray ++ ys.toArray)
96
+ knownTupleFromArray [T ](xs.toArray ++ ys.toArray)
97
97
98
98
inline def size [This >: this .type <: Tuple ]: Size [This ] = {
99
99
type Result = Size [This ]
@@ -164,7 +164,7 @@ object Tuple {
164
164
elems1
165
165
}
166
166
167
- private [scala] inline def knowTupleFromArray [T <: Tuple ](xs : Array [Object ]): T =
167
+ private [scala] inline def knownTupleFromArray [T <: Tuple ](xs : Array [Object ]): T =
168
168
inline constValue[BoundedSize [T ]] match {
169
169
case 0 => ().asInstanceOf [T ]
170
170
case 1 => Tuple1 (xs(0 )).asInstanceOf [T ]
@@ -249,7 +249,7 @@ sealed trait NonEmptyTuple extends Tuple {
249
249
val t = asInstanceOf [Tuple5 [_, _, _, _, _]]
250
250
Tuple4 (t._2, t._3, t._4, t._5).asInstanceOf [Result ]
251
251
case Some (n) if n > 5 =>
252
- knowTupleFromArray [Result ](toArray.tail)
252
+ knownTupleFromArray [Result ](toArray.tail)
253
253
case None =>
254
254
runtime.DynamicTuple .dynamicTail[This ](this )
255
255
}
0 commit comments