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
@@ -10,7 +10,9 @@ class C(value: String) : A(value), B
fun box(): String {
val c = C("OK")
if ((c : B).component1() != "OK") return "Fail 1"
if ((c : A).component1() != "OK") return "Fail 2"
val b: B = c
val a: A = c
if (b.component1() != "OK") return "Fail 1"
if (a.component1() != "OK") return "Fail 2"
return c.component1()
}