[FIR] Fixed behavior of FirAnnotation.findArgumentByName for resolved annotations
The 'findArgumentByName' function was returning an invalid result for annotation arguments with omitted argument name. #KT-64276
This commit is contained in:
committed by
Space Team
parent
bb8c7dd04c
commit
d69240a2d5
@@ -0,0 +1,21 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: kotlin.kt
|
||||
@file:OptIn(ExperimentalObjCName::class)
|
||||
|
||||
package kotlin.native
|
||||
|
||||
import kotlin.experimental.ExperimentalObjCName
|
||||
|
||||
fun interface BaseInterface {
|
||||
@ObjCName(name = "close")
|
||||
fun close()
|
||||
}
|
||||
|
||||
open class BaseClass {
|
||||
@ObjCName("close")
|
||||
fun close() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class DerivedClass : BaseClass(), BaseInterface {}
|
||||
Reference in New Issue
Block a user