@@ -54,8 +54,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
54
54
* Emits an error and throws if the expression does not represent a value or possibly contains side effects.
55
55
* Otherwise returns the value.
56
56
*/
57
- // TODO: deprecate after 3.1.x
58
- // @deprecated("Use valueOrAbort", "3.2.0")
57
+ @ deprecated(" Use valueOrAbort" , " 3.1.0" )
59
58
def valueOrError (using FromExpr [T ]): T =
60
59
val fromExpr = summon[FromExpr [T ]]
61
60
def reportError =
@@ -4201,18 +4200,15 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
4201
4200
def errorAndAbort (msg : String , pos : Position ): Nothing
4202
4201
4203
4202
/** Report an error at the position of the macro expansion and throw a StopMacroExpansion */
4204
- // TODO: deprecate after 3.1.x
4205
- // @deprecated("Use errorAndAbort", "3.2.0")
4203
+ @ deprecated(" Use errorAndAbort" , " 3.1.0" )
4206
4204
def throwError (msg : String ): Nothing
4207
4205
4208
4206
/** Report an error at the position of `expr` and throw a StopMacroExpansion */
4209
- // TODO: deprecate after 3.1.x
4210
- // @deprecated("Use errorAndAbort", "3.2.0")
4207
+ @ deprecated(" Use errorAndAbort" , " 3.1.0" )
4211
4208
def throwError (msg : String , expr : Expr [Any ]): Nothing
4212
4209
4213
4210
/** Report an error message at the given position and throw a StopMacroExpansion */
4214
- // TODO: deprecate after 3.1.x
4215
- // @deprecated("Use errorAndAbort", "3.2.0")
4211
+ @ deprecated(" Use errorAndAbort" , " 3.1.0" )
4216
4212
def throwError (msg : String , pos : Position ): Nothing
4217
4213
4218
4214
/** Report a warning at the position of the macro expansion */
0 commit comments