Skip to content

Commit 51fd7af

Browse files
Update library/src/scala/quoted/Quotes.scala
Co-authored-by: Fengyun Liu <[email protected]>
1 parent 2705092 commit 51fd7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/quoted/Quotes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
5151
* Emits an error and throws if the expression does not represent a value or possibly contains side effects.
5252
* Otherwise returns the value.
5353
*/
54-
@deprecated("Use valueOrThrow", "3.0.0-RC3")
54+
@deprecated("Use valueOrAbort", "3.0.0-RC3")
5555
def valueOrError(using FromExpr[T]): T = valueOrAbort
5656

5757
/** Return the value of this expression.

0 commit comments

Comments
 (0)