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:
Denis Zharkov
2018-11-22 16:38:37 +03:00
parent aa5a2a2643
commit 5231da4320
3 changed files with 7 additions and 4 deletions
@@ -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 = "") {}
}