Java to Kotlin converter: even more smartness about nullability

This commit is contained in:
Valentin Kipyatkov
2014-06-04 17:35:46 +04:00
parent 15ffb6768c
commit d49b4f86fd
29 changed files with 273 additions and 50 deletions
@@ -0,0 +1,8 @@
class C(private var s: String?) {
fun foo() {
if (s != null) {
System.out.print("not null")
}
}
}