File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
compiler/src/dotty/tools/dotc/core
library/src/scala/runtime/quoted Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -605,8 +605,8 @@ class Definitions {
605
605
def QuotedType_~ (implicit ctx : Context ) =
606
606
QuotedTypeClass .info.member(tpnme.UNARY_~ ).symbol.asType
607
607
608
- def Unpickler_unpickleExpr = ctx.requiredMethod(" scala.quoted.Unpickler.unpickleExpr" )
609
- def Unpickler_unpickleType = ctx.requiredMethod(" scala.quoted.Unpickler.unpickleType" )
608
+ def Unpickler_unpickleExpr = ctx.requiredMethod(" scala.runtime. quoted.Unpickler.unpickleExpr" )
609
+ def Unpickler_unpickleType = ctx.requiredMethod(" scala.runtime. quoted.Unpickler.unpickleType" )
610
610
611
611
lazy val EqType = ctx.requiredClassRef(" scala.Eq" )
612
612
def EqClass (implicit ctx : Context ) = EqType .symbol.asClass
Original file line number Diff line number Diff line change 1
- package scala .quoted
1
+ package scala .runtime .quoted
2
+
3
+ import scala .quoted ._
2
4
3
5
/** Provides methods to unpickle `Expr` and `Type` trees. */
4
6
object Unpickler {
@@ -11,10 +13,10 @@ object Unpickler {
11
13
/** Unpickle `repr` which represents a pickled `Expr` tree,
12
14
* replacing splice nodes with `args`
13
15
*/
14
- def unpickleExpr [T ](repr : Pickled , args : Seq [Quoted ]): Expr [T ] = ???
16
+ def unpickleExpr [T ](repr : Pickled , args : Seq [Any ]): Expr [T ] = ???
15
17
16
18
/** Unpickle `repr` which represents a pickled `Type` tree,
17
19
* replacing splice nodes with `args`
18
20
*/
19
- def unpickleType [T ](repr : Pickled , args : Seq [Quoted ]): Type [T ] = ???
21
+ def unpickleType [T ](repr : Pickled , args : Seq [Any ]): Type [T ] = ???
20
22
}
You can’t perform that action at this time.
0 commit comments