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:
@@ -0,0 +1,16 @@
|
||||
//method
|
||||
void foo() {
|
||||
{
|
||||
int a = 1;
|
||||
bar(a);
|
||||
}
|
||||
|
||||
{
|
||||
int a = 2;
|
||||
bar(a);
|
||||
}
|
||||
|
||||
{
|
||||
bar(3);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user