Render 'defined in' in resolved call tests
This commit is contained in:
@@ -9,8 +9,8 @@ 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
|
||||
Candidate descriptor: fun <T> foo(t: T, l: List<T>): Unit defined in root package
|
||||
Resulting descriptor: fun <T> foo(t: Comparable<out Any?>, l: List<Comparable<out Any?>>): Unit defined in root package
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
|
||||
@@ -9,8 +9,8 @@ fun bar() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(t: T): Unit
|
||||
Resulting descriptor: fun <T> foo(t: A): Unit
|
||||
Candidate descriptor: fun <T> foo(t: T): Unit defined in root package
|
||||
Resulting descriptor: fun <T> foo(t: A): Unit defined in root package
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
|
||||
@@ -9,8 +9,8 @@ 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
|
||||
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
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
|
||||
+2
-2
@@ -7,8 +7,8 @@ fun test() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: fun <T> foo(l: List<T>): Unit
|
||||
Resulting descriptor: fun <T> foo(l: List<???>): Unit
|
||||
Candidate descriptor: fun <T> foo(l: List<T>): Unit defined in root package
|
||||
Resulting descriptor: fun <T> foo(l: List<???>): Unit defined in root package
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
|
||||
Reference in New Issue
Block a user