blob: 42898d835bb424eb044a8fb8bd1375bd3add4903 [file]
// RUN_PIPELINE_TILL: CODEGEN
// ISSUE: KT-50646
class Inv<T>
fun <T> foo(c: Inv<T>, f: () -> T) {}
fun <T> foo(c: Inv<T>, v: T) {}
fun <T> test(x: Inv<T>, v: T) {
foo(x) { v }
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, functionalType, lambdaLiteral, nullableType, typeParameter */