FIR: make class member helper names more consistent

This commit is contained in:
Mikhail Glukhikh
2022-10-26 14:07:51 +02:00
committed by Space Team
parent e2a83a0ed0
commit d4fc2248ff
19 changed files with 39 additions and 40 deletions
@@ -856,7 +856,7 @@ class FirVisualizer(private val firFile: FirFile) : BaseRenderer() {
return when (val fir = this.fir) {
is FirConstructor -> fir.returnTypeRef.coneType.isLocal()
is FirCallableDeclaration -> {
fir.dispatchReceiverClassOrNull()?.toFirRegularClassSymbol(session)?.isLocal ?: false
fir.dispatchReceiverClassLookupTagOrNull()?.toFirRegularClassSymbol(session)?.isLocal ?: false
}
else -> false
}