@@ -17,47 +17,47 @@ class Type[T <: AnyKind] private[scala] {
17
17
/** Some basic type tags, currently incomplete */
18
18
object Type {
19
19
20
- given UnitTag (using qctx : QuoteContext ): Type [Unit ] = {
20
+ given UnitTag (using qctx : QuoteContext ) as Type [Unit ] = {
21
21
import qctx .tasty .{_ , given }
22
22
defn.UnitType .seal.asInstanceOf [quoted.Type [Unit ]]
23
23
}
24
24
25
- given BooleanTag (using qctx : QuoteContext ): Type [Boolean ] = {
25
+ given BooleanTag (using qctx : QuoteContext ) as Type [Boolean ] = {
26
26
import qctx .tasty .{_ , given }
27
27
defn.BooleanType .seal.asInstanceOf [quoted.Type [Boolean ]]
28
28
}
29
29
30
- given ByteTag (using qctx : QuoteContext ): Type [Byte ] = {
30
+ given ByteTag (using qctx : QuoteContext ) as Type [Byte ] = {
31
31
import qctx .tasty .{_ , given }
32
32
defn.ByteType .seal.asInstanceOf [quoted.Type [Byte ]]
33
33
}
34
34
35
- given CharTag (using qctx : QuoteContext ): Type [Char ] = {
35
+ given CharTag (using qctx : QuoteContext ) as Type [Char ] = {
36
36
import qctx .tasty .{_ , given }
37
37
defn.CharType .seal.asInstanceOf [quoted.Type [Char ]]
38
38
}
39
39
40
- given ShortTag (using qctx : QuoteContext ): Type [Short ] = {
40
+ given ShortTag (using qctx : QuoteContext ) as Type [Short ] = {
41
41
import qctx .tasty .{_ , given }
42
42
defn.ShortType .seal.asInstanceOf [quoted.Type [Short ]]
43
43
}
44
44
45
- given IntTag (using qctx : QuoteContext ): Type [Int ] = {
45
+ given IntTag (using qctx : QuoteContext ) as Type [Int ] = {
46
46
import qctx .tasty .{_ , given }
47
47
defn.IntType .seal.asInstanceOf [quoted.Type [Int ]]
48
48
}
49
49
50
- given LongTag (using qctx : QuoteContext ): Type [Long ] = {
50
+ given LongTag (using qctx : QuoteContext ) as Type [Long ] = {
51
51
import qctx .tasty .{_ , given }
52
52
defn.LongType .seal.asInstanceOf [quoted.Type [Long ]]
53
53
}
54
54
55
- given FloatTag (using qctx : QuoteContext ): Type [Float ] = {
55
+ given FloatTag (using qctx : QuoteContext ) as Type [Float ] = {
56
56
import qctx .tasty .{_ , given }
57
57
defn.FloatType .seal.asInstanceOf [quoted.Type [Float ]]
58
58
}
59
59
60
- given DoubleTag (using qctx : QuoteContext ): Type [Double ] = {
60
+ given DoubleTag (using qctx : QuoteContext ) as Type [Double ] = {
61
61
import qctx .tasty .{_ , given }
62
62
defn.DoubleType .seal.asInstanceOf [quoted.Type [Double ]]
63
63
}
0 commit comments