FIR serializer: fix isLambda copying
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ class FirJvmClassCodegen(
|
|||||||
symbol = FirAnonymousFunctionSymbol()
|
symbol = FirAnonymousFunctionSymbol()
|
||||||
returnTypeRef = function.returnTypeRef
|
returnTypeRef = function.returnTypeRef
|
||||||
receiverTypeRef = function.receiverTypeRef
|
receiverTypeRef = function.receiverTypeRef
|
||||||
isLambda = false
|
isLambda = (function as? FirAnonymousFunction)?.isLambda == true
|
||||||
valueParameters.addAll(function.valueParameters)
|
valueParameters.addAll(function.valueParameters)
|
||||||
typeParameters.addAll(function.typeParameters.filterIsInstance<FirTypeParameter>())
|
typeParameters.addAll(function.typeParameters.filterIsInstance<FirTypeParameter>())
|
||||||
}
|
}
|
||||||
|
|||||||
-1
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
// WITH_REFLECT
|
// WITH_REFLECT
|
||||||
|
|||||||
Reference in New Issue
Block a user