Render candidate and resulting descriptors in resolved call tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user