[IR] Fixed a problem in FunctionInlining

#KT-64868 Fixed
This commit is contained in:
Igor Chevdar
2024-01-15 17:46:28 +02:00
committed by Space Team
parent bef0946ab7
commit f3a807c507
3 changed files with 8 additions and 8 deletions
@@ -282,7 +282,7 @@ internal val functionInliningPhase = makeIrModulePhase(
{ context ->
class JvmInlineFunctionResolver : InlineFunctionResolver {
override fun getFunctionDeclaration(symbol: IrFunctionSymbol): IrFunction {
return (symbol.owner as? IrSimpleFunction)?.resolveFakeOverride() ?: symbol.owner
return symbol.owner
}
override fun getFunctionSymbol(irFunction: IrFunction): IrFunctionSymbol {