@@ -32,7 +32,7 @@ sealed trait Tuple extends Any {
32
32
}
33
33
34
34
inline def stagedToArray : Array [Object ] =
35
- $ { StagedTuple .toArrayStaged(' { this } , constValueOpt[BoundedSize [this .type ]]) }
35
+ $ { StagedTuple .toArrayStaged(' this , constValueOpt[BoundedSize [this .type ]]) }
36
36
37
37
inline def *: [H ] (x : H ): H *: this .type =
38
38
if (stageIt) stagedCons[H ](x)
@@ -60,7 +60,7 @@ sealed trait Tuple extends Any {
60
60
}
61
61
62
62
inline def stagedCons [H ] (x : H ): H *: this .type =
63
- $ { StagedTuple .stagedCons(' { this } , ' {x} , constValueOpt[BoundedSize [this .type ]]) }
63
+ $ { StagedTuple .stagedCons(' this , ' x , constValueOpt[BoundedSize [this .type ]]) }
64
64
65
65
inline def ++ (that : Tuple ): Concat [this .type , that.type ] =
66
66
if (stageIt) stagedConcat(that)
@@ -104,8 +104,8 @@ sealed trait Tuple extends Any {
104
104
}
105
105
106
106
inline def stagedConcat (that : Tuple ): Concat [this .type , that.type ] =
107
- $ { StagedTuple .stagedConcat(' { this } , constValueOpt[BoundedSize [this .type ]],
108
- ' { that} , constValueOpt[BoundedSize [that.type ]]) }
107
+ $ { StagedTuple .stagedConcat(' this , constValueOpt[BoundedSize [this .type ]],
108
+ ' that , constValueOpt[BoundedSize [that.type ]]) }
109
109
110
110
inline def genericConcat [T <: Tuple ](xs : Tuple , ys : Tuple ): Tuple =
111
111
fromArray[T ](xs.toArray ++ ys.toArray)
@@ -121,7 +121,7 @@ sealed trait Tuple extends Any {
121
121
}
122
122
123
123
inline def stagedSize : Size [this .type ] =
124
- $ { StagedTuple .sizeStaged[Size [this .type ]](' { this } , constValueOpt[BoundedSize [this .type ]]) }
124
+ $ { StagedTuple .sizeStaged[Size [this .type ]](' this , constValueOpt[BoundedSize [this .type ]]) }
125
125
}
126
126
127
127
object Tuple {
@@ -217,7 +217,7 @@ object Tuple {
217
217
}
218
218
219
219
inline def stagedFromArray [T <: Tuple ](xs : Array [Object ]): T =
220
- $ { StagedTuple .fromArrayStaged[T ](' {xs} , constValueOpt[BoundedSize [this .type ]]) }
220
+ $ { StagedTuple .fromArrayStaged[T ](' xs , constValueOpt[BoundedSize [this .type ]]) }
221
221
222
222
def dynamicFromArray [T <: Tuple ](xs : Array [Object ]): T = xs.length match {
223
223
case 0 => ().asInstanceOf [T ]
@@ -340,7 +340,7 @@ sealed trait NonEmptyTuple extends Tuple {
340
340
}
341
341
342
342
inline def stagedHead : Head [this .type ] =
343
- $ { StagedTuple .headStaged[this .type ](' { this } , constValueOpt[BoundedSize [this .type ]]) }
343
+ $ { StagedTuple .headStaged[this .type ](' this , constValueOpt[BoundedSize [this .type ]]) }
344
344
345
345
inline def tail : Tail [this .type ] =
346
346
if (stageIt) stagedTail
@@ -369,7 +369,7 @@ sealed trait NonEmptyTuple extends Tuple {
369
369
}
370
370
371
371
inline def stagedTail : Tail [this .type ] =
372
- $ { StagedTuple .tailStaged[this .type ](' { this } , constValueOpt[BoundedSize [this .type ]]) }
372
+ $ { StagedTuple .tailStaged[this .type ](' this , constValueOpt[BoundedSize [this .type ]]) }
373
373
374
374
inline def fallbackApply (n : Int ) =
375
375
inline constValueOpt[n.type ] match {
@@ -430,8 +430,8 @@ sealed trait NonEmptyTuple extends Tuple {
430
430
431
431
inline def stagedApply (n : Int ): Elem [this .type , n.type ] =
432
432
$ { StagedTuple .applyStaged[this .type , n.type ](
433
- ' { this } , constValueOpt[Size [this .type ]],
434
- ' {n} , constValueOpt[n.type ]) }
433
+ ' this , constValueOpt[Size [this .type ]],
434
+ ' n , constValueOpt[n.type ]) }
435
435
}
436
436
437
437
object NonEmptyTuple {
0 commit comments