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 e3ddbab commit e3e6831Copy full SHA for e3e6831
library/src-bootstrapped/scala/quoted/Expr.scala
@@ -48,7 +48,6 @@ abstract class Expr[+T] private[scala] {
48
val tree = this.unseal
49
val expectedType = tp.unseal.tpe
50
if (tree.tpe <:< expectedType)
51
- this.asInstanceOf[scala.quoted.Expr[T]]
52
this.asInstanceOf[scala.quoted.Expr[X]]
53
else
54
throw new scala.tasty.reflect.ExprCastError(
0 commit comments