Render candidate and resulting descriptors in resolved call tests

This commit is contained in:
Svetlana Isakova
2014-07-10 16:33:50 +04:00
parent bff579dd1e
commit 11ea241efb
43 changed files with 157 additions and 42 deletions
@@ -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
@@ -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