| // 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 */ |