03fc0fd381
It's not really necessary if the information about if the lambda was a trailing lambda can be directly saved in FirAnonymousFunctionExpression. Removing the FIR node uncovered a couple of bugs (UNINITIALIZED_ENUM_ENTRY, ERROR_IN_CONTRACT_DESCRIPTION) that were caused by assuming that a lambda is always a trailing lambda. #KT-66124
41 lines
1.4 KiB
Plaintext
Vendored
41 lines
1.4 KiB
Plaintext
Vendored
KtSuccessCallInfo:
|
|
call = KtSimpleFunctionCall:
|
|
isImplicitInvoke = false
|
|
partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
|
|
dispatchReceiver = null
|
|
extensionReceiver = null
|
|
signature = KtFunctionLikeSignature:
|
|
receiverType = null
|
|
returnType = kotlin.Unit
|
|
symbol = /bar(a: kotlin.Int, b: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit
|
|
valueParameters = [
|
|
KtVariableLikeSignature:
|
|
name = a
|
|
receiverType = null
|
|
returnType = kotlin.Int
|
|
symbol = a: kotlin.Int
|
|
callableIdIfNonLocal = null,
|
|
KtVariableLikeSignature:
|
|
name = b
|
|
receiverType = null
|
|
returnType = kotlin.Function1<kotlin.Int, kotlin.Int>
|
|
symbol = b: kotlin.Function1<kotlin.Int, kotlin.Int>
|
|
callableIdIfNonLocal = null
|
|
]
|
|
callableIdIfNonLocal = /bar
|
|
typeArgumentsMapping = {}
|
|
argumentMapping = {
|
|
2 -> (KtVariableLikeSignature:
|
|
name = a
|
|
receiverType = null
|
|
returnType = kotlin.Int
|
|
symbol = a: kotlin.Int
|
|
callableIdIfNonLocal = null),
|
|
l@{ it } -> (KtVariableLikeSignature:
|
|
name = b
|
|
receiverType = null
|
|
returnType = kotlin.Function1<kotlin.Int, kotlin.Int>
|
|
symbol = b: kotlin.Function1<kotlin.Int, kotlin.Int>
|
|
callableIdIfNonLocal = null)
|
|
}
|