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:
committed by
Space Cloud
parent
d5aaa29a7f
commit
588549d1d0
@@ -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>)
|
||||
|
||||
Reference in New Issue
Block a user