@@ -54,8 +54,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
5454 * Emits an error and throws if the expression does not represent a value or possibly contains side effects.
5555 * Otherwise returns the value.
5656 */
57- // TODO: deprecate in 3.1.0 and remove @experimental from valueOrAbort
58- // @deprecated("Use valueOrThrow", "3.1.0")
57+ @ deprecated(" Use valueOrAbort" , " 3.1.0" )
5958 def valueOrError (using FromExpr [T ]): T =
6059 val fromExpr = summon[FromExpr [T ]]
6160 def reportError =
@@ -69,7 +68,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
6968 * Emits an error and aborts if the expression does not represent a value or possibly contains side effects.
7069 * Otherwise returns the value.
7170 */
72- @ experimental
7371 def valueOrAbort (using FromExpr [T ]): T
7472
7573 end extension
@@ -4192,30 +4190,24 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
41924190 def error (msg : String , pos : Position ): Unit
41934191
41944192 /** Report an error at the position of the macro expansion and throw a StopMacroExpansion */
4195- @ experimental
41964193 def errorAndAbort (msg : String ): Nothing
41974194
41984195 /** Report an error at the position of `expr` and throw a StopMacroExpansion */
4199- @ experimental
42004196 def errorAndAbort (msg : String , expr : Expr [Any ]): Nothing
42014197
42024198 /** Report an error message at the given position and throw a StopMacroExpansion */
4203- @ experimental
42044199 def errorAndAbort (msg : String , pos : Position ): Nothing
42054200
42064201 /** Report an error at the position of the macro expansion and throw a StopMacroExpansion */
4207- // TODO: deprecate in 3.1.0 and remove @experimental from errorAndAbort
4208- // @deprecated("Use errorAndAbort", "3.1.0")
4202+ @ deprecated(" Use errorAndAbort" , " 3.1.0" )
42094203 def throwError (msg : String ): Nothing
42104204
42114205 /** Report an error at the position of `expr` and throw a StopMacroExpansion */
4212- // TODO: deprecate in 3.1.0 and remove @experimental from errorAndAbort
4213- // @deprecated("Use errorAndAbort", "3.1.0")
4206+ @ deprecated(" Use errorAndAbort" , " 3.1.0" )
42144207 def throwError (msg : String , expr : Expr [Any ]): Nothing
42154208
42164209 /** Report an error message at the given position and throw a StopMacroExpansion */
4217- // TODO: deprecate in 3.1.0 and remove @experimental from errorAndAbort
4218- // @deprecated("Use errorAndAbort", "3.1.0")
4210+ @ deprecated(" Use errorAndAbort" , " 3.1.0" )
42194211 def throwError (msg : String , pos : Position ): Nothing
42204212
42214213 /** Report a warning at the position of the macro expansion */
0 commit comments