[NI-MIGRATE] Update test data for resolve tests after enabling NI
This commit is contained in:
+1
@@ -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
|
||||
|
||||
+1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
@@ -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
|
||||
|
||||
+1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -16,4 +16,4 @@ Extension receiver = NO_RECEIVER
|
||||
|
||||
Value arguments mapping:
|
||||
|
||||
MATCH_MODULO_UNINFERRED_TYPES f : () -> ??? = { b }
|
||||
SUCCESS f : () -> ??? = { b }
|
||||
|
||||
+1
-1
@@ -16,4 +16,4 @@ Extension receiver = NO_RECEIVER
|
||||
|
||||
Value arguments mapping:
|
||||
|
||||
MATCH_MODULO_UNINFERRED_TYPES f : (???) -> String = { x -> "$x"}
|
||||
SUCCESS f : (???) -> String = { x -> "$x"}
|
||||
|
||||
@@ -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
|
||||
|
||||
+3
-3
@@ -10,7 +10,7 @@ fun test(a: Any, ls: List<String>) {
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(t: T, l: List<T>): Unit defined in root package
|
||||
Resulting descriptor: fun <T> foo(t: Any, l: List<Any>): Unit defined in root package
|
||||
Resulting descriptor: fun <T> 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<Any> = ls
|
||||
SUCCESS t : {Comparable<{Int & String}> & java.io.Serializable} = 11
|
||||
SUCCESS l : List<{Comparable<{Int & String}> & java.io.Serializable}> = ls
|
||||
|
||||
+3
-3
@@ -10,7 +10,7 @@ fun test(ls: MutableList<String>) {
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(t: T, l: MutableList<T>): Unit defined in root package
|
||||
Resulting descriptor: fun <T> foo(t: ???, l: MutableList<???>): Unit defined in root package
|
||||
Resulting descriptor: fun <T> foo(t: String, l: MutableList<String>): 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<String> = ls
|
||||
|
||||
+1
-1
@@ -17,4 +17,4 @@ Extension receiver = NO_RECEIVER
|
||||
|
||||
Value arguments mapping:
|
||||
|
||||
ARGUMENT_HAS_NO_TYPE a : A = b
|
||||
SUCCESS a : A = b
|
||||
|
||||
@@ -20,4 +20,4 @@ Extension receiver = NO_RECEIVER
|
||||
|
||||
Value arguments mapping:
|
||||
|
||||
MATCH_MODULO_UNINFERRED_TYPES t : ??? = someList()
|
||||
SUCCESS t : ??? = someList()
|
||||
|
||||
+1
-1
@@ -20,4 +20,4 @@ Extension receiver = NO_RECEIVER
|
||||
|
||||
Value arguments mapping:
|
||||
|
||||
MATCH_MODULO_UNINFERRED_TYPES t : ??? = someList()
|
||||
SUCCESS t : ??? = someList()
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
@@ -5,6 +5,7 @@ class B: <caret>A() {}
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: constructor A() defined in A
|
||||
Resulting descriptor: constructor A() defined in A
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
|
||||
@@ -5,6 +5,7 @@ fun foo(array: Array<Int>) {
|
||||
|
||||
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
|
||||
|
||||
+1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -9,6 +9,7 @@ fun test() = A<caret>(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
|
||||
|
||||
@@ -10,6 +10,7 @@ fun test() = A.ONE<caret>(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
|
||||
|
||||
@@ -7,6 +7,7 @@ fun test() = A<caret>(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
|
||||
|
||||
@@ -19,4 +19,4 @@ Extension receiver = NO_RECEIVER
|
||||
|
||||
Value arguments mapping:
|
||||
|
||||
MATCH_MODULO_UNINFERRED_TYPES l : List<???> = someList()
|
||||
SUCCESS l : List<???> = someList()
|
||||
|
||||
@@ -13,6 +13,7 @@ val v = <caret>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
|
||||
|
||||
+1
@@ -13,6 +13,7 @@ val v = <caret>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
|
||||
|
||||
+1
@@ -13,6 +13,7 @@ val v = <caret>A()
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: constructor A() defined in A
|
||||
Resulting descriptor: constructor A() defined in A
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
|
||||
@@ -6,6 +6,7 @@ val v = <caret>A()
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: constructor A() defined in A
|
||||
Resulting descriptor: constructor A() defined in A
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
|
||||
@@ -13,6 +13,7 @@ val v = <caret>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
|
||||
|
||||
@@ -13,6 +13,7 @@ val v = <caret>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
|
||||
|
||||
@@ -13,6 +13,7 @@ val v = <caret>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
|
||||
|
||||
@@ -13,6 +13,7 @@ val v = <caret>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
|
||||
|
||||
@@ -13,6 +13,7 @@ val v = <caret>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
|
||||
|
||||
@@ -10,6 +10,7 @@ val v = <caret>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
|
||||
|
||||
@@ -7,6 +7,7 @@ val y = <caret>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
|
||||
|
||||
Reference in New Issue
Block a user