Skip to content

Commit a02f008

Browse files
cypressiousliamoberg
authored andcommitted
[Tests] Update test data after context receiver changes
#KT-72994 Fixed
1 parent 5c2b3ed commit a02f008

File tree

342 files changed

+2446
-63493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

342 files changed

+2446
-63493
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Before shortening: a.b.c.foo()
22
with default settings:
3+
[qualifier] a.b.c.foo()
34
with DO_NOT_SHORTEN:
45
with SHORTEN_IF_ALREADY_IMPORTED:
6+
[qualifier] a.b.c.foo()
57
with SHORTEN_AND_IMPORT:
8+
[qualifier] a.b.c.foo()
69
with SHORTEN_AND_STAR_IMPORT:
10+
[qualifier] a.b.c.foo()

analysis/analysis-api/testData/components/resolver/singleByPsi/contextParameters/callableReferenceOnFunctionWithContextReceivers.descriptors.call.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KtCallableReferenceExpression(65,70): '::foo'
1+
KtCallableReferenceExpression(80,85): '::foo'
22
KaSuccessCallInfo:
33
call = KaSimpleFunctionCall:
44
argumentMapping = {}

analysis/analysis-api/testData/components/resolver/singleByPsi/contextParameters/callableReferenceOnFunctionWithContextReceivers.descriptors.candidates.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KtCallableReferenceExpression(65,70): '::foo'
1+
KtCallableReferenceExpression(80,85): '::foo'
22
KaApplicableCallCandidateInfo:
33
candidate = KaSimpleFunctionCall:
44
argumentMapping = {}

analysis/analysis-api/testData/components/resolver/singleByPsi/contextParameters/callableReferenceOnFunctionWithContextReceivers.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// IGNORE_FIR
2+
13
context(Int, String)
24
fun foo(b: Boolean) {
35

analysis/analysis-api/testData/components/resolver/singleByPsi/contextParameters/callableReferenceOnFunctionWithContextReceivers_rhs.descriptors.call.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KtNameReferenceExpression(67,70): 'foo'
1+
KtNameReferenceExpression(82,85): 'foo'
22
KaSuccessCallInfo:
33
call = KaSimpleFunctionCall:
44
argumentMapping = {}

analysis/analysis-api/testData/components/resolver/singleByPsi/contextParameters/callableReferenceOnFunctionWithContextReceivers_rhs.descriptors.candidates.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KtNameReferenceExpression(67,70): 'foo'
1+
KtNameReferenceExpression(82,85): 'foo'
22
KaApplicableCallCandidateInfo:
33
candidate = KaSimpleFunctionCall:
44
argumentMapping = {}

analysis/analysis-api/testData/components/resolver/singleByPsi/contextParameters/callableReferenceOnFunctionWithContextReceivers_rhs.descriptors.references.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KtNameReferenceExpression(67,70): 'foo'
1+
KtNameReferenceExpression(82,85): 'foo'
22
KtSimpleNameReference:
33
isImplicitReferenceToCompanion: false
44
usesContextSensitiveResolution: false

analysis/analysis-api/testData/components/resolver/singleByPsi/contextParameters/callableReferenceOnFunctionWithContextReceivers_rhs.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// IGNORE_FIR
2+
13
context(Int, String)
24
fun foo(b: Boolean) {
35

Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
KtCallExpression(102,105): 'c()'
2-
KaSuccessCallInfo:
3-
call = KaSimpleFunctionCall:
4-
argumentMapping = {}
5-
isImplicitInvoke = false
6-
partiallyAppliedSymbol = KaPartiallyAppliedSymbol:
7-
contextArguments = []
8-
dispatchReceiver = KaImplicitReceiverValue:
9-
symbol = Container: Container
10-
type = Container
11-
extensionReceiver = null
12-
signature = KaFunctionSignature:
13-
receiverType = null
14-
returnType = kotlin.Unit
15-
symbol = /Container.c(<dispatch receiver>: Container): kotlin.Unit
16-
valueParameters = []
17-
contextParameters = []
18-
callableId = /Container.c
19-
typeArgumentsMapping = {}
2+
KaErrorCallInfo:
3+
candidateCalls = []
4+
diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'c'.>
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,2 @@
11
KtCallExpression(102,105): 'c()'
2-
KaApplicableCallCandidateInfo:
3-
candidate = KaSimpleFunctionCall:
4-
argumentMapping = {}
5-
isImplicitInvoke = false
6-
partiallyAppliedSymbol = KaPartiallyAppliedSymbol:
7-
contextArguments = []
8-
dispatchReceiver = KaImplicitReceiverValue:
9-
symbol = Container: Container
10-
type = Container
11-
extensionReceiver = null
12-
signature = KaFunctionSignature:
13-
receiverType = null
14-
returnType = kotlin.Unit
15-
symbol = /Container.c(<dispatch receiver>: Container): kotlin.Unit
16-
valueParameters = []
17-
contextParameters = []
18-
callableId = /Container.c
19-
typeArgumentsMapping = {}
20-
isInBestCandidates = true
2+
NO_CANDIDATES

0 commit comments

Comments
 (0)