Files
kotlin-fork/analysis/analysis-api/testData/components/callResolver/resolveCall/labeledLambda.txt
T
Kirill Rakhman 03fc0fd381 [FIR] Remove FirLambdaArgumentExpression
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
2024-03-13 17:05:48 +00:00

29 lines
1.0 KiB
Plaintext
Vendored

KtSuccessCallInfo:
call = KtSimpleFunctionCall:
isImplicitInvoke = false
partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
dispatchReceiver = null
extensionReceiver = null
signature = KtFunctionLikeSignature:
receiverType = null
returnType = kotlin.Unit
symbol = /foo(l1: kotlin.Function1<kotlin.Int, kotlin.Unit>): kotlin.Unit
valueParameters = [
KtVariableLikeSignature:
name = l1
receiverType = null
returnType = kotlin.Function1<kotlin.Int, kotlin.Unit>
symbol = l1: kotlin.Function1<kotlin.Int, kotlin.Unit>
callableIdIfNonLocal = null
]
callableIdIfNonLocal = /foo
typeArgumentsMapping = {}
argumentMapping = {
label@ {} -> (KtVariableLikeSignature:
name = l1
receiverType = null
returnType = kotlin.Function1<kotlin.Int, kotlin.Unit>
symbol = l1: kotlin.Function1<kotlin.Int, kotlin.Unit>
callableIdIfNonLocal = null)
}