fixed line numbers when replacing nested access

This commit is contained in:
Egor Ushakov
2018-02-16 20:00:30 +03:00
parent 4a790b1c7c
commit 7310e9e989
4 changed files with 34 additions and 27 deletions

View File

@@ -8,7 +8,7 @@ public class TestClassFields {
static {
sizes = new int[names.length];// 15
TestClassFields.Inner.staticMutable = 3;// 17
SIZE = TestClassFields.Inner.staticMutable;// 14 18
SIZE = TestClassFields.Inner.staticMutable;// 18
}// 19
private static class Inner {
@@ -18,20 +18,20 @@ public class TestClassFields {
class 'pkg/TestClassFields' {
method '<clinit> ()V' {
0 10
2 9
11 8
14 8
17 8
1a 9
1b 9
1f 10
22 10
25 11
}
}
Lines mapping:
14 <-> 11
15 <-> 9
17 <-> 10
18 <-> 11
19 <-> 12
Not mapped:
14