better handling of empty if/else blocks

This commit is contained in:
Alex Tkachman
2011-11-29 11:56:30 +02:00
parent 84cb0a179a
commit ce1718e518
7 changed files with 101 additions and 19 deletions
@@ -1,3 +1,5 @@
fun box(i: Int?) {
fun box() : String {
val i : Int? = 0
val j = i?.plus(3) //verify error
return "OK"
}