@@ -15,37 +15,36 @@ package quoted {
15
15
def show (implicit toolbox : Toolbox ): String = toolbox.show(tpe.asInstanceOf [Type [Any ]])
16
16
}
17
17
18
- implicit def UnitTag : Type [Unit ] = new TaggedType [Unit ]
19
- implicit def BooleanTag : Type [Boolean ] = new TaggedType [Boolean ]
20
- implicit def ByteTag : Type [Byte ] = new TaggedType [Byte ]
21
- implicit def CharTag : Type [Char ] = new TaggedType [Char ]
22
- implicit def ShortTag : Type [Short ] = new TaggedType [Short ]
23
- implicit def IntTag : Type [Int ] = new TaggedType [Int ]
24
- implicit def LongTag : Type [Long ] = new TaggedType [Long ]
25
- implicit def FloatTag : Type [Float ] = new TaggedType [Float ]
26
- implicit def DoubleTag : Type [Double ] = new TaggedType [Double ]
18
+ implicit def UnitTag : Type [Unit ] = new scala.internal.quoted. TaggedType [Unit ]
19
+ implicit def BooleanTag : Type [Boolean ] = new scala.internal.quoted. TaggedType [Boolean ]
20
+ implicit def ByteTag : Type [Byte ] = new scala.internal.quoted. TaggedType [Byte ]
21
+ implicit def CharTag : Type [Char ] = new scala.internal.quoted. TaggedType [Char ]
22
+ implicit def ShortTag : Type [Short ] = new scala.internal.quoted. TaggedType [Short ]
23
+ implicit def IntTag : Type [Int ] = new scala.internal.quoted. TaggedType [Int ]
24
+ implicit def LongTag : Type [Long ] = new scala.internal.quoted. TaggedType [Long ]
25
+ implicit def FloatTag : Type [Float ] = new scala.internal.quoted. TaggedType [Float ]
26
+ implicit def DoubleTag : Type [Double ] = new scala.internal.quoted. TaggedType [Double ]
27
27
}
28
28
29
29
}
30
30
31
31
package internal {
32
32
package quoted {
33
- import scala .quote .Type
34
33
import scala .reflect .ClassTag
35
34
import scala .runtime .quoted .Unpickler .Pickled
36
35
37
36
/** A Type backed by a pickled TASTY tree */
38
- final class TastyType [T ](val tasty : Pickled , val args : Seq [Any ]) extends Type [T ] {
37
+ final class TastyType [T ](val tasty : Pickled , val args : Seq [Any ]) extends scala.quoted. Type [T ] {
39
38
override def toString (): String = s " Type(<pickled tasty>) "
40
39
}
41
40
42
41
/** An Type backed by a value */
43
- final class TaggedType [T ](implicit val ct : ClassTag [T ]) extends Type [T ] {
42
+ final class TaggedType [T ](implicit val ct : ClassTag [T ]) extends scala.quoted. Type [T ] {
44
43
override def toString : String = s " Type( $ct) "
45
44
}
46
45
47
46
/** An Type backed by a tree */
48
- final class TreeType [Tree ](val typeTree : Tree ) extends quoted.Type [Any ] {
47
+ final class TreeType [Tree ](val typeTree : Tree ) extends scala. quoted.Type [Any ] {
49
48
override def toString : String = s " Type(<tasty tree>) "
50
49
}
51
50
0 commit comments