blob: bcb6b7639eaccf90104b0a360cc83404c2d54df2 [file]
// RUN_PIPELINE_TILL: CODEGEN
class A<T>(t: T) {
fun foo(x: T) {}
}
abstract class B<E>(e: E) {
val myE: E = id(e)
val a = A(e)
fun id(e: E): E = e
}
class C : B<String>("") {
fun bar() {
a.foo("")
}
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, nullableType, primaryConstructor, propertyDeclaration,
stringLiteral, typeParameter */