Java to Kotlin converter: specify local variable type when necessary

#KT-5277 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-06-24 19:04:03 +04:00
parent 73ba1af779
commit 6e473506fc
22 changed files with 182 additions and 60 deletions
@@ -0,0 +1,5 @@
//method
void foo(p: Boolean) {
Integer i = 1;
if (p) i = null;
}