File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
compiler/src/dotty/tools/dotc/transform Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ class TreeChecker extends Phase with SymTransformer {
130130 assert(ctx.typerState.constraint.domainLambdas.isEmpty,
131131 i " non-empty constraint at end of $fusedPhase: ${ctx.typerState.constraint}, ownedVars = ${ctx.typerState.ownedVars.toList}%, % " )
132132 assertSelectWrapsNew(ctx.compilationUnit.tpdTree)
133+ TreeNodeChecker .run(ctx.compilationUnit.tpdTree)
133134 }
134135
135136 val checkingCtx = ctx
@@ -306,7 +307,6 @@ class TreeChecker extends Phase with SymTransformer {
306307 sym.isEffectivelyErased && sym.is(Private ) && ! sym.initial.is(Private )
307308
308309 override def typed (tree : untpd.Tree , pt : Type = WildcardType )(using Context ): Tree = {
309- TreeNodeChecker .run(tree)
310310 val tpdTree = super .typed(tree, pt)
311311 Typer .assertPositioned(tree)
312312 if (ctx.erasedTypes)
You can’t perform that action at this time.
0 commit comments