fix extra semicolon in decompiled empty blocks IDEA-196314 #843
This commit is contained in:
47
testData/results/TestEmptyBlocks.dec
Normal file
47
testData/results/TestEmptyBlocks.dec
Normal file
@@ -0,0 +1,47 @@
|
||||
import java.util.Random;
|
||||
|
||||
public class TestEmptyBlocks {
|
||||
public static void foo() {
|
||||
try {
|
||||
boolean var0 = false;// 22
|
||||
} catch (Exception var1) {// 23
|
||||
}
|
||||
|
||||
for(int i = 0; i < 5; ++i) {// 27
|
||||
}
|
||||
|
||||
while((new Random()).nextBoolean()) {// 31
|
||||
}
|
||||
|
||||
if ((new Random()).nextBoolean()) {// 35
|
||||
}
|
||||
|
||||
}// 38
|
||||
}
|
||||
|
||||
class 'TestEmptyBlocks' {
|
||||
method 'foo ()V' {
|
||||
0 5
|
||||
1 5
|
||||
5 6
|
||||
6 9
|
||||
7 9
|
||||
9 9
|
||||
a 9
|
||||
d 9
|
||||
1a 12
|
||||
2a 15
|
||||
2d 15
|
||||
30 18
|
||||
}
|
||||
}
|
||||
|
||||
Lines mapping:
|
||||
22 <-> 6
|
||||
23 <-> 7
|
||||
27 <-> 10
|
||||
31 <-> 13
|
||||
35 <-> 16
|
||||
38 <-> 19
|
||||
Not mapped:
|
||||
25
|
||||
Reference in New Issue
Block a user