5 lines
111 B
Kotlin
Vendored
5 lines
111 B
Kotlin
Vendored
interface WithCopy<T> {
|
|
fun copy(str: T): WithCopy<T>
|
|
}
|
|
|
|
data class Test(val str: String): WithCopy<String> |