3a8ad45dec
Reverts and fixes 102f0d3
24 lines
511 B
Plaintext
24 lines
511 B
Plaintext
class A {}
|
|
|
|
fun <T> foo(t: T) {}
|
|
|
|
fun <T> emptyList(): MutableList<T> = throw Exception()
|
|
|
|
fun bar() {
|
|
<caret>foo(emptyList())
|
|
}
|
|
|
|
|
|
Resolved call:
|
|
|
|
Candidate descriptor: fun <T> foo(t: T): Unit defined in root package
|
|
Resulting descriptor: fun <T> foo(t: MutableList<???>): Unit defined in root package
|
|
|
|
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
|
Dispatch receiver = NO_RECEIVER
|
|
Extension receiver = NO_RECEIVER
|
|
|
|
Value arguments mapping:
|
|
|
|
MATCH_MODULO_UNINFERRED_TYPES t : MutableList<???> = emptyList()
|