File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -255,17 +255,20 @@ sealed trait NonEmptyTuple extends Tuple {
255
255
/** Get the i-th element of this tuple.
256
256
* Equivalent to productElement but with a precise return type.
257
257
*/
258
- inline def apply [This >: this .type <: NonEmptyTuple ](n : Int ): Elem [This , n.type ] =
258
+ // FIXME remove transparent
259
+ transparent inline def apply [This >: this .type <: NonEmptyTuple ](n : Int ): Elem [This , n.type ] =
259
260
runtime.Tuples .apply(this , n).asInstanceOf [Elem [This , n.type ]]
260
261
261
262
/** Get the head of this tuple */
262
- inline def head [This >: this .type <: NonEmptyTuple ]: Head [This ] =
263
+ // FIXME remove transparent
264
+ transparent inline def head [This >: this .type <: NonEmptyTuple ]: Head [This ] =
263
265
runtime.Tuples .apply(this , 0 ).asInstanceOf [Head [This ]]
264
266
265
267
/** Get the tail of this tuple.
266
268
* This operation is O(this.size)
267
269
*/
268
- inline def tail [This >: this .type <: NonEmptyTuple ]: Tail [This ] =
270
+ // FIXME remove transparent
271
+ transparent inline def tail [This >: this .type <: NonEmptyTuple ]: Tail [This ] =
269
272
runtime.Tuples .tail(this ).asInstanceOf [Tail [This ]]
270
273
271
274
}
You can’t perform that action at this time.
0 commit comments