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

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


Resolved call:

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
Dispatch receiver = NO_RECEIVER
Extension receiver = NO_RECEIVER

Value arguments mapping:

TYPE_MISMATCH  l : List<???> = 11
