@@ -5,7 +5,6 @@ package core
55import Types ._ , Contexts ._ , Symbols ._ , Denotations ._ , SymDenotations ._ , StdNames ._ , Names ._
66import Flags ._ , Scopes ._ , Decorators ._ , NameOps ._ , util .Positions ._ , Periods ._
77import unpickleScala2 .Scala2Unpickler .ensureConstructor
8- import scala .annotation .{ switch , meta }
98import scala .collection .{ mutable , immutable }
109import PartialFunction ._
1110import collection .mutable
@@ -299,11 +298,11 @@ class Definitions {
299298
300299 /** Method representing a term quote */
301300 lazy val quoteMethod = enterPolyMethod(OpsPackageClass , nme.QUOTE , 1 ,
302- pt => MethodType (pt.paramRefs(0 ) :: Nil , MetaExprType .appliedTo(pt.paramRefs(0 ) :: Nil )))
301+ pt => MethodType (pt.paramRefs(0 ) :: Nil , QuotedExprType .appliedTo(pt.paramRefs(0 ) :: Nil )))
303302
304303 /** Method representing a type quote */
305304 lazy val typeQuoteMethod = enterPolyMethod(OpsPackageClass , nme.QUOTE , 1 ,
306- pt => MetaTypeType .appliedTo(pt.paramRefs(0 ) :: Nil ))
305+ pt => QuotedTypeType .appliedTo(pt.paramRefs(0 ) :: Nil ))
307306
308307 lazy val NothingClass : ClassSymbol = enterCompleteClassSymbol(
309308 ScalaPackageClass , tpnme.Nothing , AbstractFinal , List (AnyClass .typeRef))
@@ -591,22 +590,22 @@ class Definitions {
591590 def ClassTagClass (implicit ctx : Context ) = ClassTagType .symbol.asClass
592591 def ClassTagModule (implicit ctx : Context ) = ClassTagClass .companionModule
593592
594- lazy val MetaQuotedType = ctx.requiredClassRef(" scala.meta .Quoted" )
595- def MetaQuotedClass (implicit ctx : Context ) = MetaQuotedType .symbol.asClass
593+ lazy val QuotedType = ctx.requiredClassRef(" scala.quoted .Quoted" )
594+ def QuotedClass (implicit ctx : Context ) = QuotedType .symbol.asClass
596595
597- lazy val MetaExprType = ctx.requiredClassRef(" scala.meta .Expr" )
598- def MetaExprClass (implicit ctx : Context ) = MetaExprType .symbol.asClass
596+ lazy val QuotedExprType = ctx.requiredClassRef(" scala.quoted .Expr" )
597+ def QuotedExprClass (implicit ctx : Context ) = QuotedExprType .symbol.asClass
599598
600- def MetaExpr_ ~ (implicit ctx : Context ) = MetaExprClass .requiredMethod(nme.UNARY_~ )
599+ def QuotedExpr_ ~ (implicit ctx : Context ) = QuotedExprClass .requiredMethod(nme.UNARY_~ )
601600
602- lazy val MetaTypeType = ctx.requiredClassRef(" scala.meta .Type" )
603- def MetaTypeClass (implicit ctx : Context ) = MetaTypeType .symbol.asClass
601+ lazy val QuotedTypeType = ctx.requiredClassRef(" scala.quoted .Type" )
602+ def QuotedTypeClass (implicit ctx : Context ) = QuotedTypeType .symbol.asClass
604603
605- def MetaType_ ~ (implicit ctx : Context ) =
606- MetaTypeClass .info.member(tpnme.UNARY_~ ).symbol.asType
604+ def QuotedType_ ~ (implicit ctx : Context ) =
605+ QuotedTypeClass .info.member(tpnme.UNARY_~ ).symbol.asType
607606
608- def Unpickler_unpickleExpr = ctx.requiredMethod(" scala.meta .Unpickler.unpickleExpr" )
609- def Unpickler_unpickleType = ctx.requiredMethod(" scala.meta .Unpickler.unpickleType" )
607+ def Unpickler_unpickleExpr = ctx.requiredMethod(" scala.quoted .Unpickler.unpickleExpr" )
608+ def Unpickler_unpickleType = ctx.requiredMethod(" scala.quoted .Unpickler.unpickleType" )
610609
611610 lazy val EqType = ctx.requiredClassRef(" scala.Eq" )
612611 def EqClass (implicit ctx : Context ) = EqType .symbol.asClass
0 commit comments