[FIR2IR] Simplification of function building in lazy class
This commit is contained in:
@@ -136,14 +136,7 @@ class Fir2IrLazyClass(
|
|||||||
if (it.isAbstractMethodOfAny()) {
|
if (it.isAbstractMethodOfAny()) {
|
||||||
return@processFunctionsByName
|
return@processFunctionsByName
|
||||||
}
|
}
|
||||||
result += if (!it.isFakeOverride) {
|
result += declarationStorage.getIrFunctionSymbol(it).owner
|
||||||
declarationStorage.getIrFunctionSymbol(it).owner
|
|
||||||
} else {
|
|
||||||
val fakeOverrideSymbol =
|
|
||||||
FirClassSubstitutionScope.createFakeOverrideFunction(session, it.fir, it)
|
|
||||||
classifierStorage.preCacheTypeParameters(it.fir)
|
|
||||||
declarationStorage.getIrFunctionSymbol(fakeOverrideSymbol).owner
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user