blob: 1cfb202fefa389b01c92b6a000ffe5375b5f30c0 [file]
// RUN_PIPELINE_TILL: CODEGEN
open class SuperFoo {
public fun bar(): String {
if (this is Foo) {
superFoo()
return baz()
}
return baz()
}
public fun baz() = "OK"
}
class Foo : SuperFoo() {
public fun superFoo() {}
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, ifExpression, isExpression, smartcast, stringLiteral,
thisExpression */