41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
12 lines
159 B
Kotlin
12 lines
159 B
Kotlin
trait A<T> {
|
|
var x: T
|
|
}
|
|
|
|
class B(override var x: String) : A<String>
|
|
|
|
fun box(): String {
|
|
val a: A<String> = B("Fail")
|
|
a.x = "OK"
|
|
return a.x
|
|
}
|