@@ -11,7 +11,7 @@ sealed trait Tuple extends Any {
11
11
inline def toArray : Array [Object ] =
12
12
inline constValueOpt[BoundedSize [this .type ]] match {
13
13
case Some (0 ) =>
14
- scala.runtime. DynamicTuple .empty$Array
14
+ DynamicTuple .empty$Array
15
15
case Some (1 ) =>
16
16
val t = asInstanceOf [Tuple1 [Object ]]
17
17
Array (t._1)
@@ -29,7 +29,7 @@ sealed trait Tuple extends Any {
29
29
case Some (n) =>
30
30
asInstanceOf [TupleXXL ].elems
31
31
case None =>
32
- runtime. DynamicTuple .dynamicToArray(this )
32
+ DynamicTuple .dynamicToArray(this )
33
33
}
34
34
35
35
inline def *: [H , This >: this .type <: Tuple ] (x : H ): H *: This = {
@@ -51,7 +51,7 @@ sealed trait Tuple extends Any {
51
51
case Some (n) =>
52
52
knowTupleFromArray[H *: this .type ](DynamicTuple .cons$Array (x, toArray))
53
53
case _ =>
54
- runtime. DynamicTuple .dynamic_*: [This , H ](this , x)
54
+ DynamicTuple .dynamic_*: [This , H ](this , x)
55
55
}
56
56
}
57
57
@@ -90,15 +90,15 @@ sealed trait Tuple extends Any {
90
90
if (constValue[BoundedSize [that.type ]] == 0 ) this .asInstanceOf [Result ]
91
91
else knowTupleFromArray[Result ](this .toArray ++ that.toArray)
92
92
case None =>
93
- runtime. DynamicTuple .dynamic_++ [This , that.type ](this , that)
93
+ DynamicTuple .dynamic_++ [This , that.type ](this , that)
94
94
}
95
95
}
96
96
97
97
inline def size [This >: this .type <: Tuple ]: Size [This ] = {
98
98
type Result = Size [This ]
99
99
inline constValueOpt[BoundedSize [this .type ]] match {
100
100
case Some (n) => n.asInstanceOf [Result ]
101
- case _ => runtime. DynamicTuple .dynamicSize(this )
101
+ case _ => DynamicTuple .dynamicSize(this )
102
102
}
103
103
}
104
104
@@ -178,7 +178,7 @@ object Tuple {
178
178
case xs : Array [Object ] => xs
179
179
case xs => xs.map(_.asInstanceOf [Object ])
180
180
}
181
- runtime. DynamicTuple .dynamicFromArray[Tuple ](xs2)
181
+ DynamicTuple .dynamicFromArray[Tuple ](xs2)
182
182
}
183
183
184
184
}
@@ -201,13 +201,13 @@ sealed trait NonEmptyTuple extends Tuple {
201
201
case Some (4 ) =>
202
202
val t = asInstanceOf [Tuple4 [_, _, _, _]]
203
203
t._1
204
- case Some (n) if n > 4 && n <= scala.runtime. DynamicTuple .MaxSpecialized =>
204
+ case Some (n) if n > 4 && n <= DynamicTuple .MaxSpecialized =>
205
205
asInstanceOf [Product ].productElement(0 )
206
- case Some (n) if n > scala.runtime. DynamicTuple .MaxSpecialized =>
206
+ case Some (n) if n > DynamicTuple .MaxSpecialized =>
207
207
val t = asInstanceOf [TupleXXL ]
208
208
t.elems(0 )
209
209
case None =>
210
- scala.runtime. DynamicTuple .dynamicHead[this .type ](this )
210
+ DynamicTuple .dynamicHead[this .type ](this )
211
211
}
212
212
resVal.asInstanceOf [Result ]
213
213
}
@@ -232,14 +232,14 @@ sealed trait NonEmptyTuple extends Tuple {
232
232
case Some (n) if n > 5 =>
233
233
knowTupleFromArray[Result ](toArray.tail)
234
234
case None =>
235
- runtime. DynamicTuple .dynamicTail[This ](this )
235
+ DynamicTuple .dynamicTail[This ](this )
236
236
}
237
237
}
238
238
239
239
inline def fallbackApply (n : Int ) =
240
240
inline constValueOpt[n.type ] match {
241
241
case Some (n : Int ) => error(" index out of bounds: " , n)
242
- case None => runtime. DynamicTuple .dynamicApply[this .type , n.type ](this , n)
242
+ case None => DynamicTuple .dynamicApply[this .type , n.type ](this , n)
243
243
}
244
244
245
245
inline def apply [This >: this .type <: NonEmptyTuple ](n : Int ): Elem [This , n.type ] = {
@@ -275,13 +275,13 @@ sealed trait NonEmptyTuple extends Tuple {
275
275
case Some (3 ) => t._4.asInstanceOf [Result ]
276
276
case _ => fallbackApply(n).asInstanceOf [Result ]
277
277
}
278
- case Some (s) if s > 4 && s <= scala.runtime. DynamicTuple .MaxSpecialized =>
278
+ case Some (s) if s > 4 && s <= DynamicTuple .MaxSpecialized =>
279
279
val t = asInstanceOf [Product ]
280
280
inline constValueOpt[n.type ] match {
281
281
case Some (n) if n >= 0 && n < s => t.productElement(n).asInstanceOf [Result ]
282
282
case _ => fallbackApply(n).asInstanceOf [Result ]
283
283
}
284
- case Some (s) if s > scala.runtime. DynamicTuple .MaxSpecialized =>
284
+ case Some (s) if s > DynamicTuple .MaxSpecialized =>
285
285
val t = asInstanceOf [TupleXXL ]
286
286
inline constValueOpt[n.type ] match {
287
287
case Some (n) if n >= 0 && n < s => t.elems(n).asInstanceOf [Result ]
0 commit comments