fb4c256d08
Fixed test (while resolve with library on android): 'run' resolves to library function
22 lines
468 B
Plaintext
22 lines
468 B
Plaintext
fun <T> emptyList(): List<T> = throw Exception()
|
|
|
|
fun <T> doSmth(l: List<T>) {}
|
|
fun doSmth(a: Any) {}
|
|
|
|
fun bar() {
|
|
<caret>doSmth(emptyList())
|
|
}
|
|
|
|
|
|
Resolved call:
|
|
|
|
Candidate descriptor: fun <T> doSmth(l: List<T>): Unit
|
|
Resulting descriptor: fun <T> doSmth(l: List<???>): Unit
|
|
|
|
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
|
This object = NO_RECEIVER
|
|
Receiver argument = NO_RECEIVER
|
|
|
|
Value arguments mapping:
|
|
|
|
MATCH_MODULO_UNINFERRED_TYPES l : List<???> = emptyList() |