JVM_IR: add offsets to JvmStatic and JvmOverloads proxies

KAPT3 needs them to correct error types in arguments.

 #KT-64639 Fixed
This commit is contained in:
Sonya Valchuk
2023-12-19 11:52:44 +00:00
committed by Space Cloud
parent d5aaa29a7f
commit 588549d1d0
10 changed files with 433 additions and 196 deletions
@@ -23,6 +23,14 @@ class ErrorInDeclarations {
fun <T : String> f2() {}
fun <T : ABC> f3() {}
fun f4(): ABC? = null
@JvmOverloads
fun f5(a: ABC, b: String = "") {}
companion object {
@JvmStatic
fun f6(a: ABC) {}
}
}
annotation class Anno(val a: KClass<Any>)