KT-61728 [LL API] Use ContextCollector in AllCandidatesResolver

Fix testdata for builder inference test in resolve tests - now it's the
same between K1 and K2
This commit is contained in:
Roman Golyshev
2023-09-06 11:15:34 +02:00
committed by Space Team
parent ce371df5f6
commit 23363ef1bd
3 changed files with 8 additions and 48 deletions
@@ -1,43 +0,0 @@
KtApplicableCallCandidateInfo:
candidate = KtSimpleFunctionCall:
isImplicitInvoke = false
partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
dispatchReceiver = KtImplicitReceiverValue:
symbol = KtReceiverParameterSymbol:
annotationsList: []
origin: SOURCE
owningCallableSymbol: KtAnonymousFunctionSymbol(<local>/<no name provided>)
type: KtUsualClassType:
annotationsList: []
ownTypeArguments: [
KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/String
]
type: test/Target<kotlin/String>
type = test.Target<kotlin.String>
extensionReceiver = null
signature = KtFunctionLikeSignature:
receiverType = null
returnType = kotlin.Unit
symbol = test/Target.add(<dispatch receiver>: test.Target<T>, t: T): kotlin.Unit
valueParameters = [
KtVariableLikeSignature:
name = t
receiverType = null
returnType = kotlin.String
symbol = t: T
callableIdIfNonLocal = null
]
callableIdIfNonLocal = test/Target.add
typeArgumentsMapping = {}
argumentMapping = {
s -> (KtVariableLikeSignature:
name = t
receiverType = null
returnType = kotlin.String
symbol = t: T
callableIdIfNonLocal = null)
}
isInBestCandidates = true
@@ -16,7 +16,7 @@ KtApplicableCallCandidateInfo:
type: kotlin/String
]
type: test/Target<kotlin/String>
type = test.Target<Stub (chain inference): TypeVariable(T)>
type = test.Target<kotlin.String>
extensionReceiver = null
signature = KtFunctionLikeSignature:
receiverType = null
@@ -26,7 +26,7 @@ KtApplicableCallCandidateInfo:
KtVariableLikeSignature:
name = t
receiverType = null
returnType = T
returnType = kotlin.String
symbol = t: T
callableIdIfNonLocal = null
]
@@ -36,7 +36,7 @@ KtApplicableCallCandidateInfo:
s -> (KtVariableLikeSignature:
name = t
receiverType = null
returnType = T
returnType = kotlin.String
symbol = t: T
callableIdIfNonLocal = null)
}