KT-52875 Fix extension function literal creation with -Xlambdas=indy
This commit is contained in:
committed by
teamcity
parent
97c542dd76
commit
8a402bcacd
+1
-1
@@ -335,7 +335,7 @@ internal class LambdaMetafactoryArgumentsBuilder(
|
||||
}
|
||||
|
||||
val newReference =
|
||||
if (implFun.origin == IrDeclarationOrigin.LOCAL_FUNCTION_FOR_LAMBDA)
|
||||
if (implFun.origin == IrDeclarationOrigin.LOCAL_FUNCTION_FOR_LAMBDA || implFun.isAnonymousFunction)
|
||||
remapExtensionLambda(implFun as IrSimpleFunction, reference)
|
||||
else
|
||||
reference
|
||||
|
||||
Reference in New Issue
Block a user