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,12 @@
//file
import java.util.List;
class A {
List<String> list = null;
void foo() {
for (String e : list) {
System.out.println(e);
}
}
}