[K/N][IR] Fixed a problem with top-level fields

#KT-65324 Fixed
This commit is contained in:
Igor Chevdar
2024-01-29 14:59:03 +02:00
committed by Space Team
parent 6000596673
commit f220074d8a
@@ -336,7 +336,7 @@ private class BackendChecker(
}
override fun visitField(declaration: IrField) {
declaration.acceptChildrenVoid(this)
super.visitField(declaration)
if (declaration.isFakeOverride) return // Can't happen now, just trying to be future-proof here.
val parent = declaration.parent