JS: create new common directory for all generated tests, migrate several tests there
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package foo
|
||||
|
||||
open class C() {
|
||||
open val a = 1
|
||||
}
|
||||
|
||||
class D() : C() {
|
||||
override val a = 2
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val d: C = D()
|
||||
if (d.a != 2) return "fail: ${d.a}"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user