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 {
130
130
assert(ctx.typerState.constraint.domainLambdas.isEmpty,
131
131
i " non-empty constraint at end of $fusedPhase: ${ctx.typerState.constraint}, ownedVars = ${ctx.typerState.ownedVars.toList}%, % " )
132
132
assertSelectWrapsNew(ctx.compilationUnit.tpdTree)
133
+ TreeNodeChecker .run(ctx.compilationUnit.tpdTree)
133
134
}
134
135
135
136
val checkingCtx = ctx
@@ -306,7 +307,6 @@ class TreeChecker extends Phase with SymTransformer {
306
307
sym.isEffectivelyErased && sym.is(Private ) && ! sym.initial.is(Private )
307
308
308
309
override def typed (tree : untpd.Tree , pt : Type = WildcardType )(using Context ): Tree = {
309
- TreeNodeChecker .run(tree)
310
310
val tpdTree = super .typed(tree, pt)
311
311
Typer .assertPositioned(tree)
312
312
if (ctx.erasedTypes)
You can’t perform that action at this time.
0 commit comments