Unwrap fake override of original
This fixes a couple of verify errors related to the order of supertypes in the class declaration
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user