d69240a2d5
The 'findArgumentByName' function was returning an invalid result for annotation arguments with omitted argument name. #KT-64276
22 lines
354 B
Kotlin
Vendored
22 lines
354 B
Kotlin
Vendored
// 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 {}
|