Render candidate and resulting descriptors in resolved call tests
This commit is contained in:
@@ -8,6 +8,9 @@ fun test() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T, S, R> foo(t: T, f: (T) -> S, g: (S) -> R): Unit
|
||||
Resulting descriptor: fun <T, S, R> foo(t: Int, f: (Int) -> String, g: (String) -> Int): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
+3
@@ -7,6 +7,9 @@ fun test() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(f: () -> T): Unit
|
||||
Resulting descriptor: fun <T> foo(f: () -> ???): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -7,6 +7,9 @@ fun test() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(f: (T) -> String): Unit
|
||||
Resulting descriptor: fun <T> foo(f: (???) -> String): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -7,6 +7,9 @@ fun test() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(f: (T) -> String): Unit
|
||||
Resulting descriptor: fun <T> foo(f: (Int) -> String): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -7,6 +7,8 @@ fun test() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: fun foo(f: (Int) -> String): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -7,6 +7,8 @@ fun test() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: fun foo(): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -9,6 +9,9 @@ fun test(a: Any, ls: List<String>) {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(t: T, l: List<T>): Unit
|
||||
Resulting descriptor: fun <T> foo(t: Comparable<out Any?>, l: List<Comparable<out Any?>>): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -9,6 +9,9 @@ fun bar() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(t: T): Unit
|
||||
Resulting descriptor: fun <T> foo(t: A): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -9,6 +9,9 @@ fun test(ls: MutableList<String>) {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(t: T, l: MutableList<T>): Unit
|
||||
Resulting descriptor: fun <T> foo(t: ???, l: MutableList<???>): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
+3
@@ -7,6 +7,9 @@ fun test() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(l: List<T>): Unit
|
||||
Resulting descriptor: fun <T> foo(l: List<???>): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -10,6 +10,8 @@ fun bar() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: fun foo(a: A, b: B): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -10,6 +10,8 @@ fun bar() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: fun foo(a: A, b: B): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -9,6 +9,8 @@ fun bar() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: fun foo(a: A): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -9,6 +9,8 @@ fun bar() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: fun foo(a: A): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -9,6 +9,8 @@ fun bar() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: fun foo(a: A): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -7,6 +7,8 @@ fun bar() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: fun foo(): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -11,6 +11,9 @@ fun bar() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(t: T): Unit
|
||||
Resulting descriptor: fun <T> foo(t: List<???>): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -11,6 +11,9 @@ fun bar() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(t: T): Unit
|
||||
Resulting descriptor: fun <T> foo(t: MutableList<???>): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
@@ -11,6 +11,8 @@ fun bar() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: fun foo(a: A, s: String): Unit
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
Reference in New Issue
Block a user