3a8ad45dec
Reverts and fixes 102f0d3
23 lines
573 B
Plaintext
23 lines
573 B
Plaintext
fun <T> foo(t: T, l: List<T>) {}
|
|
|
|
fun use(vararg a: Any?) = a
|
|
|
|
fun test(a: Any, ls: List<String>) {
|
|
use(<caret>foo(11, ls))
|
|
}
|
|
|
|
|
|
Resolved call:
|
|
|
|
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
|
|
Dispatch receiver = NO_RECEIVER
|
|
Extension receiver = NO_RECEIVER
|
|
|
|
Value arguments mapping:
|
|
|
|
SUCCESS t : Comparable<out Any?> = 11
|
|
SUCCESS l : List<Comparable<out Any?>> = ls
|