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,8 @@
package testData.libraries
class SomeClassWithConstructors(private val arg: String) {
constructor(x: Int) : this("Hello")
fun check() {
TODO()
}
}
@@ -0,0 +1,6 @@
package testData.libraries
@JvmOverloads
fun <T> String.overloadedFun(vararg specs: String, allowExisting: Boolean = false, x: Int, y: Int = 2, z: T): String {
TODO()
}
@@ -0,0 +1,6 @@
package testData.libraries
@JvmName("renamedFun")
fun funToRename(x: Int) {
}