blob: 8105995999dd4e831f5b70a225e1b341691926af [file]
// RUN_PIPELINE_TILL: CODEGEN
open class Outer<T> {
class Nested<U> : Outer<U>() {
fun bar(): U = foo()
fun baz(): U = super.foo()
}
class Nested2 : Outer<String>() {
fun bar(): String = foo()
fun baz(): String = super.foo()
}
fun foo(): T = null!!
}
/* GENERATED_FIR_TAGS: checkNotNullCall, classDeclaration, functionDeclaration, nestedClass, nullableType,
superExpression, typeParameter */