// FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER interface Parent interface Inv object Child : Parent fun wrapper(): Inv = TODO() fun consume(wrapper: Inv) {} fun select(x: S, y: S): S = x fun error(f: Inv, w: Inv) { consume(select(f, wrapper())) }