Test data fixed

Useless code removed
Some naming refactored
This commit is contained in:
Andrey Breslav
2011-08-30 20:20:43 +04:00
parent 496549cab8
commit 2a67c4a591
12 changed files with 111 additions and 615 deletions
+2 -1
View File
@@ -47,6 +47,7 @@ namespace null_safety {
fun Any.equals(other : Any?) : Boolean
fun Any?.equals1(other : Any?) : Boolean
fun Any.equals2(other : Any?) : Boolean
fun main(args: Array<String>) {
@@ -62,7 +63,7 @@ namespace null_safety {
command<warning>?.</warning>equals1(null)
val c = Command()
c<warning>?.</warning>equals(null)
c<warning>?.</warning>equals2(null)
if (command == null) 1
}