[EE-IR] Anticipate fake overrides in fragment lowerings
This commit is contained in:
committed by
Alexander Udalov
parent
0b88748623
commit
a9479ec8d7
+1
-3
@@ -55,9 +55,7 @@ internal class FragmentLocalFunctionPatchLowering(
|
||||
}
|
||||
|
||||
override fun visitSimpleFunction(declaration: IrSimpleFunction): IrStatement {
|
||||
if (declaration.name.asString() != GENERATED_FUNCTION_NAME) return declaration
|
||||
|
||||
declaration.body!!.transformChildrenVoid(object : IrElementTransformerVoidWithContext() {
|
||||
declaration.body?.transformChildrenVoid(object : IrElementTransformerVoidWithContext() {
|
||||
override fun visitCall(expression: IrCall): IrExpression {
|
||||
expression.transformChildrenVoid(this)
|
||||
val localsData = localDeclarationsData[expression.symbol.owner] ?: return super.visitCall(expression)
|
||||
|
||||
Reference in New Issue
Block a user