Files
kotlin-fork/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv12.fir.kt
T

8 lines
196 B
Kotlin
Vendored

// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// !LANGUAGE: -ProhibitDataClassesOverridingCopy
interface WithCopy<T> {
fun copy(str: T): WithCopy<T>
}
data class Test(val str: String): WithCopy<String>