Skip to content

Commit 98aa394

Browse files
committed
Remove deprecated methods of Expr
* Remove `asReflectTree` * Remove `unseal`
1 parent 3c02d0c commit 98aa394

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

library/src/scala/quoted/QuoteContext.scala

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@ trait QuoteContext { self: internal.QuoteUnpickler & internal.QuoteMatching =>
4747
report.throwError(msg, self)(using QuoteContext.this)
4848
unlift.fromExpr(self)(using QuoteContext.this).getOrElse(reportError)
4949

50-
/** View this expression `quoted.Expr[T]` as a `Term` */
51-
@deprecated("Use reflect.Term.of", "")
52-
def unseal: reflect.Term = self.asReflectTree // TODO remove
53-
54-
/** View this expression `quoted.Expr[T]` as a `Term` */
55-
@deprecated("Use reflect.Term.of", "")
56-
def asReflectTree: reflect.Term = // TODO remove
57-
reflect.Term.of(self)
5850
end extension
5951

6052
// Extension methods for `Expr[Any]` that take another explicit type parameter

0 commit comments

Comments
 (0)