@@ -72,7 +72,7 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
72
72
case _ => false
73
73
def asExpr : scala.quoted.Expr [Any ] =
74
74
if self.isExpr then
75
- new scala.internal. quoted.Expr (self, QuoteContextImpl .this .hashCode)
75
+ new scala.quoted.internal .Expr (self, QuoteContextImpl .this .hashCode)
76
76
else self match
77
77
case TermTypeTest (self) => throw new Exception (" Expected an expression. This is a partially applied Term. Try eta-expanding the term first." )
78
78
case _ => throw new Exception (" Expected a Term but was: " + self)
@@ -316,11 +316,11 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
316
316
object TermMethodsImpl extends TermMethods :
317
317
extension (self : Term ):
318
318
def seal : scala.quoted.Expr [Any ] =
319
- if self.isExpr then new scala.internal. quoted.Expr (self, QuoteContextImpl .this .hashCode)
319
+ if self.isExpr then new scala.quoted.internal .Expr (self, QuoteContextImpl .this .hashCode)
320
320
else throw new Exception (" Cannot seal a partially applied Term. Try eta-expanding the term first." )
321
321
322
322
def sealOpt : Option [scala.quoted.Expr [Any ]] =
323
- if self.isExpr then Some (new scala.internal. quoted.Expr (self, QuoteContextImpl .this .hashCode))
323
+ if self.isExpr then Some (new scala.quoted.internal .Expr (self, QuoteContextImpl .this .hashCode))
324
324
else None
325
325
326
326
def tpe : TypeRepr = self.tpe
@@ -1003,7 +1003,7 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
1003
1003
1004
1004
object TypeTree extends TypeTreeModule :
1005
1005
def of [T <: AnyKind ](using tp : scala.quoted.Type [T ]): TypeTree =
1006
- tp.asInstanceOf [scala.internal. quoted.Type [TypeTree ]].typeTree
1006
+ tp.asInstanceOf [scala.quoted.internal .Type [TypeTree ]].typeTree
1007
1007
end TypeTree
1008
1008
1009
1009
object TypeTreeMethodsImpl extends TypeTreeMethods :
@@ -1572,7 +1572,7 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
1572
1572
1573
1573
object TypeRepr extends TypeReprModule :
1574
1574
def of [T <: AnyKind ](using tp : scala.quoted.Type [T ]): TypeRepr =
1575
- tp.asInstanceOf [scala.internal. quoted.Type [TypeTree ]].typeTree.tpe
1575
+ tp.asInstanceOf [scala.quoted.internal .Type [TypeTree ]].typeTree.tpe
1576
1576
def typeConstructorOf (clazz : Class [? ]): TypeRepr =
1577
1577
if (clazz.isPrimitive)
1578
1578
if (clazz == classOf [Boolean ]) dotc.core.Symbols .defn.BooleanType
@@ -1609,7 +1609,7 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
1609
1609
def seal : scala.quoted.Type [_] = self.asType
1610
1610
1611
1611
def asType : scala.quoted.Type [? ] =
1612
- new scala.internal. quoted.Type (Inferred (self), QuoteContextImpl .this .hashCode)
1612
+ new scala.quoted.internal .Type (Inferred (self), QuoteContextImpl .this .hashCode)
1613
1613
1614
1614
def =:= (that : TypeRepr ): Boolean = self =:= that
1615
1615
def <:< (that : TypeRepr ): Boolean = self <:< that
@@ -2633,11 +2633,11 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
2633
2633
2634
2634
def unpickleExpr [T ](pickledQuote : PickledQuote ): scala.quoted.Expr [T ] =
2635
2635
val tree = PickledQuotes .unpickleTerm(pickledQuote)(using reflect.rootContext)
2636
- new scala.internal. quoted.Expr (tree, hash).asInstanceOf [scala.quoted.Expr [T ]]
2636
+ new scala.quoted.internal .Expr (tree, hash).asInstanceOf [scala.quoted.Expr [T ]]
2637
2637
2638
2638
def unpickleType [T <: AnyKind ](pickledQuote : PickledQuote ): scala.quoted.Type [T ] =
2639
2639
val tree = PickledQuotes .unpickleTypeTree(pickledQuote)(using reflect.rootContext)
2640
- new scala.internal. quoted.Type (tree, hash).asInstanceOf [scala.quoted.Type [T ]]
2640
+ new scala.quoted.internal .Type (tree, hash).asInstanceOf [scala.quoted.Type [T ]]
2641
2641
2642
2642
object ExprMatch extends ExprMatchModule :
2643
2643
def unapply [TypeBindings <: Tuple , Tup <: Tuple ](scrutinee : scala.quoted.Expr [Any ])(using pattern : scala.quoted.Expr [Any ]): Option [Tup ] =
0 commit comments