We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac88f0e commit 03614c9Copy full SHA for 03614c9
library/src-bootstrapped/scala/quoted/Expr.scala
@@ -32,8 +32,8 @@ abstract class Expr[+T] private[scala] {
32
if isExprOf[X] then
33
this.asInstanceOf[scala.quoted.Expr[X]]
34
else
35
- throw new scala.internal.quoted.ExprCastError(
36
- s"""Expr: ${this.show}
+ throw Exception(
+ s"""Expr cast exception: ${this.show}
37
|of type: ${this.unseal.tpe.show}
38
|did not conform to type: ${tp.unseal.tpe.show}
39
|""".stripMargin
library/src/scala/internal/quoted/ExprCastError.scala
0 commit comments