Java to Kotlin converter: and even more smartness about nullability

#KT-5162 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-06-04 18:38:09 +04:00
parent d49b4f86fd
commit 81caaaf579
19 changed files with 267 additions and 32 deletions
@@ -0,0 +1,12 @@
//file
interface I {
String getString();
}
class C {
void foo(I i) {
if (i.getString() == null) {
println("null")
}
}
}