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
+8 -4
View File
@@ -20,9 +20,13 @@ class E : D, C()
fun box(): String {
val e = E()
var r = e.foo()[0]
r += (e : D).foo().iterator().next()
r += (e : C).foo()[0]
r += (e : B).foo()[0]
r += (e : A).foo()[0]
val d: D = e
val c: C = e
val b: B = e
val a: A = e
r += d.foo().iterator().next()
r += c.foo()[0]
r += b.foo()[0]
r += a.foo()[0]
return if (r == "BBBBB") "OK" else "Fail: $r"
}