removing static type assertions work in progress
This commit is contained in:
@@ -21,8 +21,11 @@ class D4 : D3
|
||||
fun box(): String {
|
||||
val x = D4()
|
||||
x.foo()
|
||||
(x : D3).foo()
|
||||
(x : F2).foo()
|
||||
(x : D1).foo()
|
||||
val d3: D3 = x
|
||||
val f2: F2 = x
|
||||
val d1: D1 = x
|
||||
d3.foo()
|
||||
f2.foo()
|
||||
d1.foo()
|
||||
return if (result == "D3D3D3D3") "OK" else "Fail: $result"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user