Skip to content

Commit cac8c75

Browse files
oderskyDarkDimius
authored andcommitted
Added implementation of TypeTestsCasts#box
1 parent 5c1a149 commit cac8c75

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/dotty/tools/dotc/transform/TypeTestsCasts.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import core.StdNames._
1313
import core.transform.Erasure.isUnboundedGeneric
1414
import typer.ErrorReporting._
1515
import ast.Trees._
16+
import Erasure.Boxing.box
1617

1718
/** This transform normalizes type tests and type casts.
1819
* Any remaining type tests
@@ -23,8 +24,6 @@ import ast.Trees._
2324
class TypeTestsCasts extends TreeTransform {
2425
import ast.tpd._
2526

26-
def box(tree: Tree): Tree = ???
27-
2827
override def name: String = "typeTestsCasts"
2928

3029
override def transformTypeApply(tree: TypeApply)(implicit ctx: Context, info: TransformerInfo): Tree = ctx.traceIndented(s"transforming ${tree.show}", show = true) {

0 commit comments

Comments
 (0)