removing static type assertions work in progress
This commit is contained in:
+2
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user