@@ -71,7 +71,7 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
7171 case _ => false
7272 def asExpr : scala.quoted.Expr [Any ] =
7373 if self.isExpr then
74- new scala.quoted.internal. Expr (self, QuoteContextImpl .this .hashCode)
74+ new dotty.tools.dotc.quoted. ExprImpl (self, QuoteContextImpl .this .hashCode)
7575 else self match
7676 case TermTypeTest (self) => throw new Exception (" Expected an expression. This is a partially applied Term. Try eta-expanding the term first." )
7777 case _ => throw new Exception (" Expected a Term but was: " + self)
@@ -315,11 +315,11 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
315315 object TermMethodsImpl extends TermMethods :
316316 extension (self : Term ):
317317 def seal : scala.quoted.Expr [Any ] =
318- if self.isExpr then new scala.quoted.internal. Expr (self, QuoteContextImpl .this .hashCode)
318+ if self.isExpr then new dotty.tools.dotc.quoted. ExprImpl (self, QuoteContextImpl .this .hashCode)
319319 else throw new Exception (" Cannot seal a partially applied Term. Try eta-expanding the term first." )
320320
321321 def sealOpt : Option [scala.quoted.Expr [Any ]] =
322- if self.isExpr then Some (new scala.quoted.internal. Expr (self, QuoteContextImpl .this .hashCode))
322+ if self.isExpr then Some (new dotty.tools.dotc.quoted. ExprImpl (self, QuoteContextImpl .this .hashCode))
323323 else None
324324
325325 def tpe : TypeRepr = self.tpe
@@ -1002,7 +1002,7 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
10021002
10031003 object TypeTree extends TypeTreeModule :
10041004 def of [T <: AnyKind ](using tp : scala.quoted.Type [T ]): TypeTree =
1005- tp.asInstanceOf [scala.quoted.internal. Type ].typeTree
1005+ tp.asInstanceOf [dotty.tools.dotc.quoted. TypeImpl ].typeTree
10061006 end TypeTree
10071007
10081008 object TypeTreeMethodsImpl extends TypeTreeMethods :
@@ -1571,7 +1571,7 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
15711571
15721572 object TypeRepr extends TypeReprModule :
15731573 def of [T <: AnyKind ](using tp : scala.quoted.Type [T ]): TypeRepr =
1574- tp.asInstanceOf [scala.quoted.internal. Type ].typeTree.tpe
1574+ tp.asInstanceOf [dotty.tools.dotc.quoted. TypeImpl ].typeTree.tpe
15751575 def typeConstructorOf (clazz : Class [? ]): TypeRepr =
15761576 if (clazz.isPrimitive)
15771577 if (clazz == classOf [Boolean ]) dotc.core.Symbols .defn.BooleanType
@@ -1608,7 +1608,7 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
16081608 def seal : scala.quoted.Type [_] = self.asType
16091609
16101610 def asType : scala.quoted.Type [? ] =
1611- new scala.quoted.internal. Type (Inferred (self), QuoteContextImpl .this .hashCode)
1611+ new dotty.tools.dotc.quoted. TypeImpl (Inferred (self), QuoteContextImpl .this .hashCode)
16121612
16131613 def =:= (that : TypeRepr ): Boolean = self =:= that
16141614 def <:< (that : TypeRepr ): Boolean = self <:< that
@@ -2623,11 +2623,11 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext, scala.intern
26232623
26242624 def unpickleExpr [T ](pickled : String | List [String ], typeHole : (Int , Seq [Any ]) => scala.quoted.Type [? ], termHole : (Int , Seq [Any ], scala.quoted.QuoteContext ) => scala.quoted.Expr [? ]): scala.quoted.Expr [T ] =
26252625 val tree = PickledQuotes .unpickleTerm(pickled, typeHole, termHole)(using reflect.rootContext)
2626- new scala.quoted.internal. Expr (tree, hash).asInstanceOf [scala.quoted.Expr [T ]]
2626+ new dotty.tools.dotc.quoted. ExprImpl (tree, hash).asInstanceOf [scala.quoted.Expr [T ]]
26272627
26282628 def unpickleType [T <: AnyKind ](pickled : String | List [String ], typeHole : (Int , Seq [Any ]) => scala.quoted.Type [? ], termHole : (Int , Seq [Any ], scala.quoted.QuoteContext ) => scala.quoted.Expr [? ]): scala.quoted.Type [T ] =
26292629 val tree = PickledQuotes .unpickleTypeTree(pickled, typeHole, termHole)(using reflect.rootContext)
2630- new scala.quoted.internal. Type (tree, hash).asInstanceOf [scala.quoted.Type [T ]]
2630+ new dotty.tools.dotc.quoted. TypeImpl (tree, hash).asInstanceOf [scala.quoted.Type [T ]]
26312631
26322632 object ExprMatch extends ExprMatchModule :
26332633 def unapply [TypeBindings <: Tuple , Tup <: Tuple ](scrutinee : scala.quoted.Expr [Any ])(using pattern : scala.quoted.Expr [Any ]): Option [Tup ] =
0 commit comments