Java to Kotlin converter: fixed exception on conversion

This commit is contained in:
Valentin Kipyatkov
2014-06-27 18:29:37 +04:00
parent 13f40e5b0d
commit 3c42933f96
4 changed files with 28 additions and 7 deletions
@@ -0,0 +1,9 @@
class A {
var list: List<String>? = null
fun foo() {
for (e in list!!) {
System.out.println(e)
}
}
}