4a2f9a5123
They were accidentally fixed with `[FIR] Process all overridden members from intersection scopes` commit, which itself introduced incorrect behavior, which was properly fixed with ... commit. So KT-64081 started to appear again
18 lines
267 B
Kotlin
Vendored
18 lines
267 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
|