Skip to content

Commit 2b40e05

Browse files
committed
cause some failures in the community build
1 parent 780c18c commit 2b40e05

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

library/src/scala/quoted/Quotes.scala

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
2828
*/
2929
def matches(that: Expr[Any]): Boolean
3030

31-
@deprecated("Use `.value` instead. This will be removed in 3.0.0-RC1", "3.0.0-M3")
32-
def unlift(using FromExpr[T]): Option[T] = self.value
33-
34-
@deprecated("Use `.valueOrError` instead. This will be removed in 3.0.0-RC1", "3.0.0-M3")
35-
def unliftOrError(using FromExpr[T]): T = self.valueOrError
36-
3731
/** Return the value of this expression.
3832
*
3933
* Returns `None` if the expression does not represent a value or possibly contains side effects.
@@ -229,8 +223,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
229223
/** Methods of the module object `val Tree` */
230224
trait TreeModule { this: Tree.type =>
231225
/** Returns the Term representation this expression */
232-
@deprecated("Use `expr.asTerm` instead (must `import quotes.reflect._`). This will be removed in 3.0.0-RC1", "3.0.0-M3")
233-
def of(expr: Expr[Any]): Tree = expr.asTerm
234226
}
235227

236228
/** Makes extension methods on `Tree` available without any imports */
@@ -523,10 +515,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
523515
/** Methods of the module object `val Term` */
524516
trait TermModule { this: Term.type =>
525517

526-
/** Returns the Term representation this expression */
527-
@deprecated("Use `expr.asTerm` instead (must `import quotes.reflect._`). This will be removed in 3.0.0-RC1", "3.0.0-M3")
528-
def of(expr: Expr[Any]): Term = expr.asTerm
529-
530518
/** Returns a term that is functionally equivalent to `t`,
531519
* however if `t` is of the form `((y1, ..., yn) => e2)(e1, ..., en)`
532520
* then it optimizes this the top most call by returning the `Some`

0 commit comments

Comments
 (0)