[FIR] Support of importing optional annotation classes (JS/Native), ^KT-51757 Fixed

This commit is contained in:
Ivan Kochurkin
2022-04-16 15:03:29 +03:00
committed by teamcity
parent 73e7b99e05
commit 3b8183a736
11 changed files with 181 additions and 24 deletions
@@ -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