[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// !LANGUAGE: +ProhibitDataClassesOverridingCopy
|
||||
|
||||
interface WithCopy<T> {
|
||||
fun copy(str: T): WithCopy<T>
|
||||
}
|
||||
|
||||
data class Test(val str: String, val int: Int) : WithCopy<String> {
|
||||
override fun copy(str: String) = copy(str, int)
|
||||
}
|
||||
Reference in New Issue
Block a user