blob: 23c93ddc6d2db2d11d5d83282bc168956c99de7b [file]
// RUN_PIPELINE_TILL: FRONTEND
interface WithCopy<T> {
fun copy(str: T): WithCopy<T>
}
<!DATA_CLASS_OVERRIDE_DEFAULT_VALUES!>data<!> class <!CONFLICTING_OVERLOADS!>Test(val str: String)<!> : WithCopy<String> {
override <!CONFLICTING_OVERLOADS!>fun copy(str: String)<!> = Test(str)
}
/* GENERATED_FIR_TAGS: classDeclaration, data, functionDeclaration, interfaceDeclaration, nullableType, override,
primaryConstructor, propertyDeclaration, typeParameter */