Skip to content

Commit 03614c9

Browse files
committed
Remove internal.quoted.ExprCastError
1 parent ac88f0e commit 03614c9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ abstract class Expr[+T] private[scala] {
3232
if isExprOf[X] then
3333
this.asInstanceOf[scala.quoted.Expr[X]]
3434
else
35-
throw new scala.internal.quoted.ExprCastError(
36-
s"""Expr: ${this.show}
35+
throw Exception(
36+
s"""Expr cast exception: ${this.show}
3737
|of type: ${this.unseal.tpe.show}
3838
|did not conform to type: ${tp.unseal.tpe.show}
3939
|""".stripMargin

library/src/scala/internal/quoted/ExprCastError.scala

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)