Skip to content

Commit e3e6831

Browse files
Update library/src-bootstrapped/scala/quoted/Expr.scala
Co-authored-by: Fengyun Liu <[email protected]>
1 parent e3ddbab commit e3e6831

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/src-bootstrapped/scala/quoted/Expr.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ abstract class Expr[+T] private[scala] {
4848
val tree = this.unseal
4949
val expectedType = tp.unseal.tpe
5050
if (tree.tpe <:< expectedType)
51-
this.asInstanceOf[scala.quoted.Expr[T]]
5251
this.asInstanceOf[scala.quoted.Expr[X]]
5352
else
5453
throw new scala.tasty.reflect.ExprCastError(

0 commit comments

Comments
 (0)