You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[IR] Fix validating unbound symbols but not tree consistency
This fixes the checkUnboundSymbols() function, which specifies
checkUnboundSymbols = true, checkTreeConsistency = false.
Because only checkTreeConsistency was tested in IrValidator, it was a
no-op.
Also, relax the rule for early return in the case of duplicated nodes.
There is, unfortunately, a case where IR nodes are duplicated, but not
in a way that causes an infinite loop (KT-79807). But in
checkUnboundSymbols() we don't yet want to fail on that, as we only
check symbols.
KT-77819
KT-79807
Copy file name to clipboardExpand all lines: compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/checkers/CheckTreeConsistencyVisitor.kt
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,7 @@ private class CheckTreeConsistencyVisitor(val reportError: ReportIrValidationErr
0 commit comments