File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
library/src-bootstrapped/scala/quoted Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ trait Liftable[T] {
19
19
*/
20
20
object Liftable {
21
21
22
- given Liftable_Boolean_delegate [T <: Boolean ] : Liftable [T ] = new PrimitiveLiftable
23
- given Liftable_Byte_delegate [T <: Byte ] : Liftable [T ] = new PrimitiveLiftable
24
- given Liftable_Short_delegate [T <: Short ] : Liftable [T ] = new PrimitiveLiftable
25
- given Liftable_Int_delegate [T <: Int ] : Liftable [T ] = new PrimitiveLiftable
26
- given Liftable_Long_delegate [T <: Long ] : Liftable [T ] = new PrimitiveLiftable
27
- given Liftable_Float_delegate [T <: Float ] : Liftable [T ] = new PrimitiveLiftable
28
- given Liftable_Double_delegate [T <: Double ] : Liftable [T ] = new PrimitiveLiftable
29
- given Liftable_Char_delegate [T <: Char ] : Liftable [T ] = new PrimitiveLiftable
30
- given Liftable_String_delegate [T <: String ] : Liftable [T ] = new PrimitiveLiftable
22
+ given BooleanIsLiftable [T <: Boolean ] : Liftable [T ] = new PrimitiveLiftable
23
+ given ByteIsLiftable [T <: Byte ] : Liftable [T ] = new PrimitiveLiftable
24
+ given ShortIsLiftable [T <: Short ] : Liftable [T ] = new PrimitiveLiftable
25
+ given IntIsLiftable [T <: Int ] : Liftable [T ] = new PrimitiveLiftable
26
+ given LongIsLiftable [T <: Long ] : Liftable [T ] = new PrimitiveLiftable
27
+ given FloatIsLiftable [T <: Float ] : Liftable [T ] = new PrimitiveLiftable
28
+ given DoubleIsLiftable [T <: Double ] : Liftable [T ] = new PrimitiveLiftable
29
+ given CharIsLiftable [T <: Char ] : Liftable [T ] = new PrimitiveLiftable
30
+ given StringIsLiftable [T <: String ] : Liftable [T ] = new PrimitiveLiftable
31
31
32
32
private class PrimitiveLiftable [T <: Unit | Null | Int | Boolean | Byte | Short | Int | Long | Float | Double | Char | String ] extends Liftable [T ] {
33
33
/** Lift a primitive value `n` into `'{ n }` */
You can’t perform that action at this time.
0 commit comments