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,10 @@
Actual data differs from file content: OverloadedFun.source.expected expected:<...d from a class file
[// Implementation of methods is not available
package testData.libraries
@kotlin.jvm.JvmOverloads public fun <T> kotlin.String.<2><4><6>overloadedFun(vararg specs: kotlin.String, allowExisting: kotlin.Boolean /* = compiled code */, x: kotlin.Int, y: kotlin.Int /* = compiled code */, z: T): kotlin.String { /* compiled code */ }]
> but was:<...d from a class file
[ overloadedFun.kt
fun <T> String.<2><4><6>overloadedFun(vararg specs: String, allowExisting: Boolean = false, x: Int, y: Int = 2, z: T): String {]
>