removing static type assertions work in progress

This commit is contained in:
Dmitry Jemerov
2015-10-07 12:19:37 +02:00
parent 8f87efc0a2
commit 1523d5bcbf
149 changed files with 514 additions and 867 deletions
@@ -15,8 +15,11 @@ class E : C(), D
fun box(): String {
val e = E()
if (e.foo() != 222) return "Fail 1"
if ((e : D).foo() != 222) return "Fail 2"
if ((e : C).foo() != 222) return "Fail 3"
if ((e : A).foo() != 222) return "Fail 4"
val d: D = e
val c: C = e
val a: A = e
if (d.foo() != 222) return "Fail 2"
if (c.foo() != 222) return "Fail 3"
if (a.foo() != 222) return "Fail 4"
return "OK"
}