Skip to content

Remove deprecated methods of Expr #10351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions library/src/scala/quoted/QuoteContext.scala
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ trait QuoteContext { self: internal.QuoteUnpickler & internal.QuoteMatching =>
report.throwError(msg, self)(using QuoteContext.this)
unlift.fromExpr(self)(using QuoteContext.this).getOrElse(reportError)

/** View this expression `quoted.Expr[T]` as a `Term` */
@deprecated("Use reflect.Term.of", "")
def unseal: reflect.Term = self.asReflectTree // TODO remove

/** View this expression `quoted.Expr[T]` as a `Term` */
@deprecated("Use reflect.Term.of", "")
def asReflectTree: reflect.Term = // TODO remove
reflect.Term.of(self)
end extension

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