Improved kotlin decompiler range indexes

Fixed #KT-30628
This commit is contained in:
Igor Yakovlev
2020-01-22 03:50:05 +03:00
parent cb1c0344b8
commit 48db96b66d
27 changed files with 326 additions and 55 deletions
@@ -0,0 +1,9 @@
Actual data differs from file content: LibraryNestedClassSecondaryConstructorUsages.results.txt expected:<...3 class Y(): A.T()
[[LibraryNestedClassSecondaryConstructorUsages.1.java] New instance creation 14 A.T a = new A.T();
[LibraryNestedClassSecondaryConstructorUsages.1.java] Unclassified usage 10 super();
[LibraryNestedClassSecondaryConstructorUsages.1.java] Unclassified usage 6 public J() {
[library.kt] New instance creation 64 val tt = A.T()
[library.kt] Supertype 40 class VV(): A.T()
]> but was:<...3 class Y(): A.T()
[[library.kt] New instance creation 64 val tt = A.T()
[library.kt] Supertype 40 class VV(): A.T()]>
@@ -1,6 +1,6 @@
package usages
package usages;
import library.*
import library.*;
class J extends A.T {
public J() {
@@ -1,4 +1,7 @@
[LibraryNestedClassSecondaryConstructorUsages.0.kt] New instance creation 16 val a: A.T = A.T()
[LibraryNestedClassSecondaryConstructorUsages.0.kt] Supertype 13 class Y(): A.T()
[LibraryNestedClassSecondaryConstructorUsages.1.java] New instance creation 14 A.T a = new A.T();
[LibraryNestedClassSecondaryConstructorUsages.1.java] Unclassified usage 10 super();
[LibraryNestedClassSecondaryConstructorUsages.1.java] Unclassified usage 6 public J() {
[library.kt] New instance creation 64 val tt = A.T()
[library.kt] Supertype 40 class VV(): A.T()
@@ -0,0 +1,6 @@
Actual data differs from file content: LibrarySecondaryConstructorUsages.results.txt expected:<... 13 class Y(): A()
[[LibrarySecondaryConstructorUsages.1.java] New instance creation 14 A a = new A();
[LibrarySecondaryConstructorUsages.1.java] Unclassified usage 10 super();
[LibrarySecondaryConstructorUsages.1.java] Unclassified usage 6 public J() {
[]library.kt] New inst...> but was:<... 13 class Y(): A()
[[]library.kt] New inst...>
@@ -1,6 +1,6 @@
package usages
package usages;
import library.*
import library.*;
class J extends A {
public J() {
@@ -1,4 +1,7 @@
[LibrarySecondaryConstructorUsages.0.kt] New instance creation 16 val a: A = A()
[LibrarySecondaryConstructorUsages.0.kt] Supertype 13 class Y(): A()
[LibrarySecondaryConstructorUsages.1.java] New instance creation 14 A a = new A();
[LibrarySecondaryConstructorUsages.1.java] Unclassified usage 10 super();
[LibrarySecondaryConstructorUsages.1.java] Unclassified usage 6 public J() {
[library.kt] New instance creation 58 val aa = A()
[library.kt] Supertype 39 class CC(): A() {
[library.kt] Supertype 39 class CC(): A() {