Java to Kotlin converter: correct code generated for accessing nullable variables

This commit is contained in:
Valentin Kipyatkov
2014-06-06 21:51:28 +04:00
parent 0695f6b3d7
commit 14efefedd6
9 changed files with 40 additions and 20 deletions
@@ -1,3 +1,3 @@
val s = null
if (!s.isEmpty()) {
if (!s?.isEmpty()!!) {
}