diff --git a/compiler/testData/resolveConstructorDelegationCalls/innerClassDelegatingPrimary.txt b/compiler/testData/resolveConstructorDelegationCalls/innerClassDelegatingPrimary.txt index 82d4ee1d30d..bb53dd34fdd 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/innerClassDelegatingPrimary.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/innerClassDelegatingPrimary.txt @@ -8,6 +8,7 @@ class A { Resolved call: +Candidate descriptor: constructor B(arg: String) defined in A.B Resulting descriptor: constructor B(arg: String) defined in A.B Explicit receiver kind = DISPATCH_RECEIVER diff --git a/compiler/testData/resolveConstructorDelegationCalls/innerClassDelegatingSecondary.txt b/compiler/testData/resolveConstructorDelegationCalls/innerClassDelegatingSecondary.txt index a482ca812d1..1cce85c3ac2 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/innerClassDelegatingSecondary.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/innerClassDelegatingSecondary.txt @@ -9,6 +9,7 @@ class A { Resolved call: +Candidate descriptor: constructor B(x: String) defined in A.B Resulting descriptor: constructor B(x: String) defined in A.B Explicit receiver kind = DISPATCH_RECEIVER diff --git a/compiler/testData/resolveConstructorDelegationCalls/superPrimary.txt b/compiler/testData/resolveConstructorDelegationCalls/superPrimary.txt index a008529c07a..a214c863f9d 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/superPrimary.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/superPrimary.txt @@ -8,6 +8,7 @@ class A : B, C { Resolved call: +Candidate descriptor: constructor B(x: Int) defined in B Resulting descriptor: constructor B(x: Int) defined in B Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolveConstructorDelegationCalls/superPrimaryEmpty.txt b/compiler/testData/resolveConstructorDelegationCalls/superPrimaryEmpty.txt index 86cc1a85c7c..7bb4e7cc3fa 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/superPrimaryEmpty.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/superPrimaryEmpty.txt @@ -8,6 +8,7 @@ class A : B, C { Resolved call: +Candidate descriptor: constructor B() defined in B Resulting descriptor: constructor B() defined in B Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolveConstructorDelegationCalls/superPrimaryImplicit.txt b/compiler/testData/resolveConstructorDelegationCalls/superPrimaryImplicit.txt index d7650ef3c3b..3cde6c434b6 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/superPrimaryImplicit.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/superPrimaryImplicit.txt @@ -8,6 +8,7 @@ class A : B, C { Resolved call: +Candidate descriptor: constructor B() defined in B Resulting descriptor: constructor B() defined in B Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolveConstructorDelegationCalls/superSecondary.txt b/compiler/testData/resolveConstructorDelegationCalls/superSecondary.txt index 8a35c5944b5..23787d09460 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/superSecondary.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/superSecondary.txt @@ -10,6 +10,7 @@ class A : B, C { Resolved call: +Candidate descriptor: constructor B(x: Int) defined in B Resulting descriptor: constructor B(x: Int) defined in B Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolveConstructorDelegationCalls/superSecondaryImplicit.txt b/compiler/testData/resolveConstructorDelegationCalls/superSecondaryImplicit.txt index f7ba775f737..4c13233467f 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/superSecondaryImplicit.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/superSecondaryImplicit.txt @@ -10,6 +10,7 @@ class A : B, C { Resolved call: +Candidate descriptor: constructor B() defined in B Resulting descriptor: constructor B() defined in B Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolveConstructorDelegationCalls/superSecondaryOverload.txt b/compiler/testData/resolveConstructorDelegationCalls/superSecondaryOverload.txt index e570d0ae324..6d524834ff5 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/superSecondaryOverload.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/superSecondaryOverload.txt @@ -11,6 +11,7 @@ class A : B, C { Resolved call: +Candidate descriptor: constructor B(x: String) defined in B Resulting descriptor: constructor B(x: String) defined in B Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolveConstructorDelegationCalls/thisPrimary.txt b/compiler/testData/resolveConstructorDelegationCalls/thisPrimary.txt index a3d222e270e..51de1121503 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/thisPrimary.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/thisPrimary.txt @@ -6,6 +6,7 @@ class A(x: Int) { Resolved call: +Candidate descriptor: constructor A(x: Int) defined in A Resulting descriptor: constructor A(x: Int) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolveConstructorDelegationCalls/thisSecondary.txt b/compiler/testData/resolveConstructorDelegationCalls/thisSecondary.txt index d55d121b32f..790d61d7676 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/thisSecondary.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/thisSecondary.txt @@ -7,6 +7,7 @@ class A { Resolved call: +Candidate descriptor: constructor A(x: Int) defined in A Resulting descriptor: constructor A(x: Int) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolveConstructorDelegationCalls/thisSecondaryOverload.txt b/compiler/testData/resolveConstructorDelegationCalls/thisSecondaryOverload.txt index 53d5f29b0bb..54ef6498018 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/thisSecondaryOverload.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/thisSecondaryOverload.txt @@ -8,6 +8,7 @@ class A(x: Double) { Resolved call: +Candidate descriptor: constructor A(x: String) defined in A Resulting descriptor: constructor A(x: String) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolveConstructorDelegationCalls/varargs.txt b/compiler/testData/resolveConstructorDelegationCalls/varargs.txt index c382ed98f08..f03b44aec9a 100644 --- a/compiler/testData/resolveConstructorDelegationCalls/varargs.txt +++ b/compiler/testData/resolveConstructorDelegationCalls/varargs.txt @@ -10,6 +10,7 @@ class A : B { Resolved call: +Candidate descriptor: constructor B(vararg x: Int) defined in B Resulting descriptor: constructor B(vararg x: Int) defined in B Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/arguments/functionLiterals/notInferredLambdaReturnType.txt b/compiler/testData/resolvedCalls/arguments/functionLiterals/notInferredLambdaReturnType.txt index e1d89084f22..cfa920bc036 100644 --- a/compiler/testData/resolvedCalls/arguments/functionLiterals/notInferredLambdaReturnType.txt +++ b/compiler/testData/resolvedCalls/arguments/functionLiterals/notInferredLambdaReturnType.txt @@ -16,4 +16,4 @@ Extension receiver = NO_RECEIVER Value arguments mapping: -MATCH_MODULO_UNINFERRED_TYPES f : () -> ??? = { b } +SUCCESS f : () -> ??? = { b } diff --git a/compiler/testData/resolvedCalls/arguments/functionLiterals/notInferredLambdaType.txt b/compiler/testData/resolvedCalls/arguments/functionLiterals/notInferredLambdaType.txt index 1adca947cff..84c8e0fa50c 100644 --- a/compiler/testData/resolvedCalls/arguments/functionLiterals/notInferredLambdaType.txt +++ b/compiler/testData/resolvedCalls/arguments/functionLiterals/notInferredLambdaType.txt @@ -16,4 +16,4 @@ Extension receiver = NO_RECEIVER Value arguments mapping: -MATCH_MODULO_UNINFERRED_TYPES f : (???) -> String = { x -> "$x"} +SUCCESS f : (???) -> String = { x -> "$x"} diff --git a/compiler/testData/resolvedCalls/arguments/functionLiterals/simpleLambda.txt b/compiler/testData/resolvedCalls/arguments/functionLiterals/simpleLambda.txt index 4d9757ee38e..252cd32b077 100644 --- a/compiler/testData/resolvedCalls/arguments/functionLiterals/simpleLambda.txt +++ b/compiler/testData/resolvedCalls/arguments/functionLiterals/simpleLambda.txt @@ -7,6 +7,7 @@ fun test() { Resolved call: +Candidate descriptor: fun foo(f: (Int) -> String): Unit defined in root package Resulting descriptor: fun foo(f: (Int) -> String): Unit defined in root package Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/arguments/genericCalls/inferredParameter.txt b/compiler/testData/resolvedCalls/arguments/genericCalls/inferredParameter.txt index 9ebb421c4ed..e707d27cdcb 100644 --- a/compiler/testData/resolvedCalls/arguments/genericCalls/inferredParameter.txt +++ b/compiler/testData/resolvedCalls/arguments/genericCalls/inferredParameter.txt @@ -10,7 +10,7 @@ fun test(a: Any, ls: List) { Resolved call: Candidate descriptor: fun foo(t: T, l: List): Unit defined in root package -Resulting descriptor: fun foo(t: Any, l: List): Unit defined in root package +Resulting descriptor: fun foo(t: {Comparable<{Int & String}> & java.io.Serializable}, l: List<{Comparable<{Int & String}> & java.io.Serializable}>): Unit defined in root package Explicit receiver kind = NO_EXPLICIT_RECEIVER Dispatch receiver = NO_RECEIVER @@ -18,5 +18,5 @@ Extension receiver = NO_RECEIVER Value arguments mapping: -SUCCESS t : Any = 11 -SUCCESS l : List = ls +SUCCESS t : {Comparable<{Int & String}> & java.io.Serializable} = 11 +SUCCESS l : List<{Comparable<{Int & String}> & java.io.Serializable}> = ls diff --git a/compiler/testData/resolvedCalls/arguments/genericCalls/uninferredParameter.txt b/compiler/testData/resolvedCalls/arguments/genericCalls/uninferredParameter.txt index a5310f5dd06..f0a8ebf9eeb 100644 --- a/compiler/testData/resolvedCalls/arguments/genericCalls/uninferredParameter.txt +++ b/compiler/testData/resolvedCalls/arguments/genericCalls/uninferredParameter.txt @@ -10,7 +10,7 @@ fun test(ls: MutableList) { Resolved call: Candidate descriptor: fun foo(t: T, l: MutableList): Unit defined in root package -Resulting descriptor: fun foo(t: ???, l: MutableList): Unit defined in root package +Resulting descriptor: fun foo(t: String, l: MutableList): Unit defined in root package Explicit receiver kind = NO_EXPLICIT_RECEIVER Dispatch receiver = NO_RECEIVER @@ -18,5 +18,5 @@ Extension receiver = NO_RECEIVER Value arguments mapping: -MATCH_MODULO_UNINFERRED_TYPES t : ??? = 11 -MATCH_MODULO_UNINFERRED_TYPES l : MutableList = ls +SUCCESS t : String = 11 +TYPE_MISMATCH l : MutableList = ls diff --git a/compiler/testData/resolvedCalls/arguments/oneArgument/argumentHasNoType.txt b/compiler/testData/resolvedCalls/arguments/oneArgument/argumentHasNoType.txt index d5ad5be19bc..0da1ef08b83 100644 --- a/compiler/testData/resolvedCalls/arguments/oneArgument/argumentHasNoType.txt +++ b/compiler/testData/resolvedCalls/arguments/oneArgument/argumentHasNoType.txt @@ -17,4 +17,4 @@ Extension receiver = NO_RECEIVER Value arguments mapping: -ARGUMENT_HAS_NO_TYPE a : A = b +SUCCESS a : A = b diff --git a/compiler/testData/resolvedCalls/arguments/realExamples/emptyList.txt b/compiler/testData/resolvedCalls/arguments/realExamples/emptyList.txt index 2ae11394112..c3e4f449be1 100644 --- a/compiler/testData/resolvedCalls/arguments/realExamples/emptyList.txt +++ b/compiler/testData/resolvedCalls/arguments/realExamples/emptyList.txt @@ -20,4 +20,4 @@ Extension receiver = NO_RECEIVER Value arguments mapping: -MATCH_MODULO_UNINFERRED_TYPES t : ??? = someList() +SUCCESS t : ??? = someList() diff --git a/compiler/testData/resolvedCalls/arguments/realExamples/emptyMutableList.txt b/compiler/testData/resolvedCalls/arguments/realExamples/emptyMutableList.txt index 55ee516d0d4..f22269b2893 100644 --- a/compiler/testData/resolvedCalls/arguments/realExamples/emptyMutableList.txt +++ b/compiler/testData/resolvedCalls/arguments/realExamples/emptyMutableList.txt @@ -20,4 +20,4 @@ Extension receiver = NO_RECEIVER Value arguments mapping: -MATCH_MODULO_UNINFERRED_TYPES t : ??? = someList() +SUCCESS t : ??? = someList() diff --git a/compiler/testData/resolvedCalls/differentCallElements/annotationCall.txt b/compiler/testData/resolvedCalls/differentCallElements/annotationCall.txt index 21938df818a..1934a5b15e7 100644 --- a/compiler/testData/resolvedCalls/differentCallElements/annotationCall.txt +++ b/compiler/testData/resolvedCalls/differentCallElements/annotationCall.txt @@ -5,6 +5,7 @@ annotation class MyA(val i: Int) Resolved call: +Candidate descriptor: constructor MyA(i: Int) defined in MyA Resulting descriptor: constructor MyA(i: Int) defined in MyA Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/differentCallElements/delegatorToSuperCall.txt b/compiler/testData/resolvedCalls/differentCallElements/delegatorToSuperCall.txt index 34cddce9d3d..70c09f2f29d 100644 --- a/compiler/testData/resolvedCalls/differentCallElements/delegatorToSuperCall.txt +++ b/compiler/testData/resolvedCalls/differentCallElements/delegatorToSuperCall.txt @@ -5,6 +5,7 @@ class B: A() {} Resolved call: +Candidate descriptor: constructor A() defined in A Resulting descriptor: constructor A() defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/differentCallElements/simpleArrayAccess.txt b/compiler/testData/resolvedCalls/differentCallElements/simpleArrayAccess.txt index becbf17bef7..59a27a753fa 100644 --- a/compiler/testData/resolvedCalls/differentCallElements/simpleArrayAccess.txt +++ b/compiler/testData/resolvedCalls/differentCallElements/simpleArrayAccess.txt @@ -5,6 +5,7 @@ fun foo(array: Array) { Resolved call: +Candidate descriptor: operator fun get(index: Int): Int defined in kotlin.Array Resulting descriptor: operator fun get(index: Int): Int defined in kotlin.Array Explicit receiver kind = DISPATCH_RECEIVER diff --git a/compiler/testData/resolvedCalls/functionTypes/invokeForExtensionFunctionType.txt b/compiler/testData/resolvedCalls/functionTypes/invokeForExtensionFunctionType.txt index 6778d757371..65fe07ebbaa 100644 --- a/compiler/testData/resolvedCalls/functionTypes/invokeForExtensionFunctionType.txt +++ b/compiler/testData/resolvedCalls/functionTypes/invokeForExtensionFunctionType.txt @@ -6,6 +6,7 @@ fun bar(f: Int.()->Unit) { Resolved call: +Candidate descriptor: operator fun Int.invoke(): Unit defined in kotlin.Function1 Resulting descriptor: operator fun Int.invoke(): Unit defined in kotlin.Function1 Explicit receiver kind = BOTH_RECEIVERS diff --git a/compiler/testData/resolvedCalls/functionTypes/invokeForFunctionType.txt b/compiler/testData/resolvedCalls/functionTypes/invokeForFunctionType.txt index 23b128ef4fa..03af67f2ccb 100644 --- a/compiler/testData/resolvedCalls/functionTypes/invokeForFunctionType.txt +++ b/compiler/testData/resolvedCalls/functionTypes/invokeForFunctionType.txt @@ -6,6 +6,7 @@ fun bar(f: ()->Unit) { Resolved call: +Candidate descriptor: operator fun invoke(): Unit defined in kotlin.Function0 Resulting descriptor: operator fun invoke(): Unit defined in kotlin.Function0 Explicit receiver kind = DISPATCH_RECEIVER diff --git a/compiler/testData/resolvedCalls/functionTypes/valOfExtensionFunctionTypeInvoke.txt b/compiler/testData/resolvedCalls/functionTypes/valOfExtensionFunctionTypeInvoke.txt index e42f0beaec4..718f959dca3 100644 --- a/compiler/testData/resolvedCalls/functionTypes/valOfExtensionFunctionTypeInvoke.txt +++ b/compiler/testData/resolvedCalls/functionTypes/valOfExtensionFunctionTypeInvoke.txt @@ -10,6 +10,7 @@ interface A { Resolved call: +Candidate descriptor: operator fun Int.invoke(): Unit defined in kotlin.Function1 Resulting descriptor: operator fun Int.invoke(): Unit defined in kotlin.Function1 Explicit receiver kind = BOTH_RECEIVERS diff --git a/compiler/testData/resolvedCalls/functionTypes/valOfFunctionTypeInvoke.txt b/compiler/testData/resolvedCalls/functionTypes/valOfFunctionTypeInvoke.txt index 932d572885c..5aa6c86c76b 100644 --- a/compiler/testData/resolvedCalls/functionTypes/valOfFunctionTypeInvoke.txt +++ b/compiler/testData/resolvedCalls/functionTypes/valOfFunctionTypeInvoke.txt @@ -9,6 +9,7 @@ fun test(a: A) { Resolved call: +Candidate descriptor: operator fun invoke(Int): Int defined in kotlin.Function1 Resulting descriptor: operator fun invoke(Int): Int defined in kotlin.Function1 Explicit receiver kind = DISPATCH_RECEIVER diff --git a/compiler/testData/resolvedCalls/invoke/bothReceivers.txt b/compiler/testData/resolvedCalls/invoke/bothReceivers.txt index ee4503ed822..4efd95b0b72 100644 --- a/compiler/testData/resolvedCalls/invoke/bothReceivers.txt +++ b/compiler/testData/resolvedCalls/invoke/bothReceivers.txt @@ -6,6 +6,7 @@ fun bar(f: Int.() -> Unit) { Resolved call: +Candidate descriptor: operator fun Int.invoke(): Unit defined in kotlin.Function1 Resulting descriptor: operator fun Int.invoke(): Unit defined in kotlin.Function1 Explicit receiver kind = BOTH_RECEIVERS diff --git a/compiler/testData/resolvedCalls/invoke/implicitReceiverForInvoke.txt b/compiler/testData/resolvedCalls/invoke/implicitReceiverForInvoke.txt index 33d2bf46d5e..407aab435be 100644 --- a/compiler/testData/resolvedCalls/invoke/implicitReceiverForInvoke.txt +++ b/compiler/testData/resolvedCalls/invoke/implicitReceiverForInvoke.txt @@ -8,6 +8,7 @@ fun bar(f: Int.() -> Unit, i: Int) { Resolved call: +Candidate descriptor: operator fun Int.invoke(): Unit defined in kotlin.Function1 Resulting descriptor: operator fun Int.invoke(): Unit defined in kotlin.Function1 Explicit receiver kind = DISPATCH_RECEIVER diff --git a/compiler/testData/resolvedCalls/invoke/invokeOnClassObject2.txt b/compiler/testData/resolvedCalls/invoke/invokeOnClassObject2.txt index 6dae22cc3d3..270911b990b 100644 --- a/compiler/testData/resolvedCalls/invoke/invokeOnClassObject2.txt +++ b/compiler/testData/resolvedCalls/invoke/invokeOnClassObject2.txt @@ -9,6 +9,7 @@ fun test() = A(1) Resolved call: +Candidate descriptor: fun invoke(i: Int): Int defined in A.Companion Resulting descriptor: fun invoke(i: Int): Int defined in A.Companion Explicit receiver kind = DISPATCH_RECEIVER diff --git a/compiler/testData/resolvedCalls/invoke/invokeOnEnumEntry2.txt b/compiler/testData/resolvedCalls/invoke/invokeOnEnumEntry2.txt index dd1506d4838..0302f3ef27e 100644 --- a/compiler/testData/resolvedCalls/invoke/invokeOnEnumEntry2.txt +++ b/compiler/testData/resolvedCalls/invoke/invokeOnEnumEntry2.txt @@ -10,6 +10,7 @@ fun test() = A.ONE(1) Resolved call: +Candidate descriptor: fun invoke(i: Int): Int defined in A Resulting descriptor: fun invoke(i: Int): Int defined in A Explicit receiver kind = DISPATCH_RECEIVER diff --git a/compiler/testData/resolvedCalls/invoke/invokeOnObject2.txt b/compiler/testData/resolvedCalls/invoke/invokeOnObject2.txt index 7c11cb81799..6f9ea950474 100644 --- a/compiler/testData/resolvedCalls/invoke/invokeOnObject2.txt +++ b/compiler/testData/resolvedCalls/invoke/invokeOnObject2.txt @@ -7,6 +7,7 @@ fun test() = A(1) Resolved call: +Candidate descriptor: fun invoke(i: Int): Int defined in A Resulting descriptor: fun invoke(i: Int): Int defined in A Explicit receiver kind = DISPATCH_RECEIVER diff --git a/compiler/testData/resolvedCalls/resolve/mostSpecificUninferredParam.txt b/compiler/testData/resolvedCalls/resolve/mostSpecificUninferredParam.txt index 8f00c409342..59fd1d86b8b 100644 --- a/compiler/testData/resolvedCalls/resolve/mostSpecificUninferredParam.txt +++ b/compiler/testData/resolvedCalls/resolve/mostSpecificUninferredParam.txt @@ -19,4 +19,4 @@ Extension receiver = NO_RECEIVER Value arguments mapping: -MATCH_MODULO_UNINFERRED_TYPES l : List = someList() +SUCCESS l : List = someList() diff --git a/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryArgs.txt b/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryArgs.txt index f4612a65a4e..8d4615f82c0 100644 --- a/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryArgs.txt +++ b/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryArgs.txt @@ -13,6 +13,7 @@ val v = A(1.0) Resolved call: +Candidate descriptor: constructor A(x: Double) defined in A Resulting descriptor: constructor A(x: Double) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryCallSecondary.txt b/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryCallSecondary.txt index 1f47c4cd725..1b8c0e26e17 100644 --- a/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryCallSecondary.txt +++ b/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryCallSecondary.txt @@ -13,6 +13,7 @@ val v = A("abc") Resolved call: +Candidate descriptor: constructor A(x: String) defined in A Resulting descriptor: constructor A(x: String) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryNoArgs.txt b/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryNoArgs.txt index 8f221199297..78968dc68b5 100644 --- a/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryNoArgs.txt +++ b/compiler/testData/resolvedCalls/secondaryConstructors/explicitPrimaryNoArgs.txt @@ -13,6 +13,7 @@ val v = A() Resolved call: +Candidate descriptor: constructor A() defined in A Resulting descriptor: constructor A() defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/secondaryConstructors/implicitPrimary.txt b/compiler/testData/resolvedCalls/secondaryConstructors/implicitPrimary.txt index 9627d353aa7..ea41a6b02d2 100644 --- a/compiler/testData/resolvedCalls/secondaryConstructors/implicitPrimary.txt +++ b/compiler/testData/resolvedCalls/secondaryConstructors/implicitPrimary.txt @@ -6,6 +6,7 @@ val v = A() Resolved call: +Candidate descriptor: constructor A() defined in A Resulting descriptor: constructor A() defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/secondaryConstructors/overload1.txt b/compiler/testData/resolvedCalls/secondaryConstructors/overload1.txt index c7c12146e5f..ef8b2e236e2 100644 --- a/compiler/testData/resolvedCalls/secondaryConstructors/overload1.txt +++ b/compiler/testData/resolvedCalls/secondaryConstructors/overload1.txt @@ -13,6 +13,7 @@ val v = A("abc") Resolved call: +Candidate descriptor: constructor A(x: String) defined in A Resulting descriptor: constructor A(x: String) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/secondaryConstructors/overload2.txt b/compiler/testData/resolvedCalls/secondaryConstructors/overload2.txt index b00037f6b24..2123ef30a33 100644 --- a/compiler/testData/resolvedCalls/secondaryConstructors/overload2.txt +++ b/compiler/testData/resolvedCalls/secondaryConstructors/overload2.txt @@ -13,6 +13,7 @@ val v = A(1) Resolved call: +Candidate descriptor: constructor A(x: Int) defined in A Resulting descriptor: constructor A(x: Int) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/secondaryConstructors/overload3.txt b/compiler/testData/resolvedCalls/secondaryConstructors/overload3.txt index c4e17b2ce1a..0ce91b6f6cf 100644 --- a/compiler/testData/resolvedCalls/secondaryConstructors/overload3.txt +++ b/compiler/testData/resolvedCalls/secondaryConstructors/overload3.txt @@ -13,6 +13,7 @@ val v = A(1, "abc") Resolved call: +Candidate descriptor: constructor A(x: Int, y: String) defined in A Resulting descriptor: constructor A(x: Int, y: String) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/secondaryConstructors/overloadDefault.txt b/compiler/testData/resolvedCalls/secondaryConstructors/overloadDefault.txt index fc620eb7f6f..092142d810b 100644 --- a/compiler/testData/resolvedCalls/secondaryConstructors/overloadDefault.txt +++ b/compiler/testData/resolvedCalls/secondaryConstructors/overloadDefault.txt @@ -13,6 +13,7 @@ val v = A(1.0) Resolved call: +Candidate descriptor: constructor A(x: Double, y: String = ...) defined in A Resulting descriptor: constructor A(x: Double, y: String = ...) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/secondaryConstructors/overloadNamed.txt b/compiler/testData/resolvedCalls/secondaryConstructors/overloadNamed.txt index 47b09b2b388..4143d42602f 100644 --- a/compiler/testData/resolvedCalls/secondaryConstructors/overloadNamed.txt +++ b/compiler/testData/resolvedCalls/secondaryConstructors/overloadNamed.txt @@ -13,6 +13,7 @@ val v = A(x=1.0) Resolved call: +Candidate descriptor: constructor A(x: Double, y: String = ...) defined in A Resulting descriptor: constructor A(x: Double, y: String = ...) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/secondaryConstructors/simple.txt b/compiler/testData/resolvedCalls/secondaryConstructors/simple.txt index ff225591491..554f6e9cc4d 100644 --- a/compiler/testData/resolvedCalls/secondaryConstructors/simple.txt +++ b/compiler/testData/resolvedCalls/secondaryConstructors/simple.txt @@ -10,6 +10,7 @@ val v = A(1) Resolved call: +Candidate descriptor: constructor A(x: Int) defined in A Resulting descriptor: constructor A(x: Int) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER diff --git a/compiler/testData/resolvedCalls/secondaryConstructors/varargs.txt b/compiler/testData/resolvedCalls/secondaryConstructors/varargs.txt index 9d6a7a0dd17..d67a32e0029 100644 --- a/compiler/testData/resolvedCalls/secondaryConstructors/varargs.txt +++ b/compiler/testData/resolvedCalls/secondaryConstructors/varargs.txt @@ -7,6 +7,7 @@ val y = A(0, *intArrayOf(1, 2, 3), 4)) Resolved call: +Candidate descriptor: constructor A(vararg x: Int) defined in A Resulting descriptor: constructor A(vararg x: Int) defined in A Explicit receiver kind = NO_EXPLICIT_RECEIVER