[Wasm] Move FirJsExportAnnotationChecker to web.common and reuse in Wasm
#KT-56849
This commit is contained in:
committed by
Space Team
parent
c1fa0a3e8c
commit
640bf67480
@@ -1,25 +0,0 @@
|
||||
// !OPT_IN: kotlin.js.ExperimentalJsExport
|
||||
|
||||
@JsExport
|
||||
fun foo1() {
|
||||
}
|
||||
|
||||
class C {
|
||||
@JsExport
|
||||
fun memberFunction() {
|
||||
}
|
||||
}
|
||||
|
||||
fun foo2() {
|
||||
@JsExport
|
||||
fun localFun() {
|
||||
}
|
||||
}
|
||||
|
||||
val p1 = (@JsExport fun () {})
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>@JsExport<!>
|
||||
class C2
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>@JsExport<!>
|
||||
var p2: Int = 1
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !OPT_IN: kotlin.js.ExperimentalJsExport
|
||||
|
||||
@JsExport
|
||||
|
||||
Reference in New Issue
Block a user