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
+3 -2
View File
@@ -7,9 +7,10 @@ class Z : A<String>
fun box(): String {
val z = Z()
val a: A<String> = z
return when {
z.foo("") != "A" -> "Fail #1"
(z : A<String>).foo("") != "A" -> "Fail #2"
z.foo("") != "A" -> "Fail #1"
a.foo("") != "A" -> "Fail #2"
else -> "OK"
}
}