5b3816cce5
treat it as a general one, introduce *_K1 and *_K2 variants for more specific ignoring
16 lines
265 B
Kotlin
Vendored
16 lines
265 B
Kotlin
Vendored
// IGNORE_BACKEND_K2: JVM_IR
|
|
open class SuperFoo {
|
|
public fun bar() {
|
|
if (this is Foo) {
|
|
baz()
|
|
}
|
|
}
|
|
|
|
public fun baz() {}
|
|
}
|
|
|
|
class Foo : SuperFoo()
|
|
|
|
// 1 INVOKEVIRTUAL SuperFoo.baz
|
|
// 0 CHECKCAST Foo
|
|
// 0 INVOKEVIRTUAL Foo.baz |