fun <T> foo(l: List<T>) {}

fun test() {
    <caret>foo(11)
}


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

Value arguments mapping:

TYPE_MISMATCH  l : List<???> = 11