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
|
||||
|
||||
Reference in New Issue
Block a user