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
+2 -1
View File
@@ -2,7 +2,8 @@ abstract class C {
fun test(x: Int) {
if (x == 0) return
if (this is D) {
(this: D).test(x - 1)
val d: D = this
d.test(x - 1)
}
}
}