Java to Kotlin converter: do not produce incorrect "code blocks" which are actually parsed as lambda's in Kotlin

#KT-4670 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-06-20 17:52:10 +04:00
parent 116c27117f
commit 2188af2bf9
15 changed files with 145 additions and 63 deletions
+16
View File
@@ -0,0 +1,16 @@
//method
void foo() {
{
int a = 1;
bar(a);
}
{
int a = 2;
bar(a);
}
{
bar(3);
}
}