// FIR_IDENTICAL open class A { } class B : A() { fun foo() {} } interface KI { val a: A<*> } fun KI.bar() { if (a is B) { a.foo() } }