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
@@ -5,7 +5,7 @@ class A() {
}
fun box(): Boolean {
var a = null : A?
var a: A? = null
when(a) {
is A? -> return true
else -> return false
@@ -10,8 +10,8 @@ class B() {
fun box(): Boolean {
var c: Int = 0
var a = A() : Any?
var b = null : Any?
var a: Any? = A()
var b: Any? = null
when(a) {
null -> c = 10;
is B -> c = 10000