Fix hasAlias check when resolving annotation in ultra-light classes
When trying to estimate if annotation entry might be resolved to a specified fqName we should track the short name from entry itself instead of the short name of desired annotation
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import kotlin.jvm.JvmStatic as JS
|
||||
|
||||
/** should load cls */
|
||||
object O {
|
||||
@JS fun foo() {}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
typealias JO = JvmOverloads
|
||||
|
||||
/** should load cls */
|
||||
object O {
|
||||
@JO fun foo(a: Int = 1, b: String = "") {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user