[FIR] Support of importing optional annotation classes (JS/Native), ^KT-51757 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
|
||||
@file:Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
|
||||
|
||||
import kotlin.js.*
|
||||
import kotlin.native.concurrent.*
|
||||
|
||||
@JsName("")
|
||||
public fun test() {}
|
||||
|
||||
@SharedImmutable
|
||||
private val EmptyArray: Array<Int> = arrayOf()
|
||||
@@ -0,0 +1,4 @@
|
||||
package
|
||||
|
||||
@kotlin.native.concurrent.SharedImmutable private val EmptyArray: kotlin.Array<kotlin.Int>
|
||||
@kotlin.js.JsName(name = "") public fun test(): kotlin.Unit
|
||||
Reference in New Issue
Block a user