Files
kotlin-fork/compiler/testData/resolvedCalls/arguments/genericCalls/simpleGeneric.txt
T

21 lines
330 B
Plaintext

class A {}
fun <T> foo(t: T) {}
fun bar() {
<caret>foo(A())
}
Resolved call:
Candidate descriptor: fun <T> foo(t: T): Unit
Resulting descriptor: fun <T> foo(t: A): Unit
Explicit receiver kind = NO_EXPLICIT_RECEIVER
This object = NO_RECEIVER
Receiver argument = NO_RECEIVER
Value arguments mapping:
SUCCESS t : A = A()