@@ -28,12 +28,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
28
28
*/
29
29
def matches (that : Expr [Any ]): Boolean
30
30
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
-
37
31
/** Return the value of this expression.
38
32
*
39
33
* 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 =>
229
223
/** Methods of the module object `val Tree` */
230
224
trait TreeModule { this : Tree .type =>
231
225
/** 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
234
226
}
235
227
236
228
/** Makes extension methods on `Tree` available without any imports */
@@ -523,10 +515,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
523
515
/** Methods of the module object `val Term` */
524
516
trait TermModule { this : Term .type =>
525
517
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
-
530
518
/** Returns a term that is functionally equivalent to `t`,
531
519
* however if `t` is of the form `((y1, ..., yn) => e2)(e1, ..., en)`
532
520
* then it optimizes this the top most call by returning the `Some`
0 commit comments