ee554d2e2f
This fixes a couple of verify errors related to the order of supertypes in the class declaration
19 lines
244 B
Kotlin
19 lines
244 B
Kotlin
trait T {
|
|
var result: String
|
|
}
|
|
|
|
open class A : T {
|
|
override var result: String
|
|
get() = ""
|
|
set(value) {}
|
|
}
|
|
|
|
class B : A(), T
|
|
class C : T, A()
|
|
|
|
fun box(): String {
|
|
B().result = ""
|
|
C().result = ""
|
|
return "OK"
|
|
}
|