// !LANGUAGE: +NewInference // !DIAGNOSTICS: -UNUSED_PARAMETER // Issue: KT-30300 class Inv class InvOut class Sample fun select(x: T, y: T): T = x fun selectInvOut(a: InvOut, b: InvOut): InvOut = TODO() fun emptyInvOut(): InvOut = TODO() fun create(element: S): InvOut, S> = TODO() fun test(s: Sample, b: InvOut, Any?>) { , kotlin.Any?>")!>selectInvOut( b, select(create(s), emptyInvOut()) ) }