7ba8f7cce2
Reason: Design of js(code) replacement is still in flux.
It would be better to delay deprecation until we converge
to proper solution.
This reverts commit 3566d918d2.
16 lines
359 B
Kotlin
Vendored
16 lines
359 B
Kotlin
Vendored
@JsFun("() => {}")
|
|
external fun topLevelExternalFun(): Unit
|
|
|
|
external class ExternalClass {
|
|
<!WRONG_JS_FUN_TARGET!>@JsFun("() => {}")<!>
|
|
fun memberFun(): Unit
|
|
}
|
|
|
|
<!WRONG_JS_FUN_TARGET!>@JsFun("() => {}")<!>
|
|
fun topLevelNonExternalFun(): Unit {}
|
|
|
|
class NonExternalClass {
|
|
<!WRONG_JS_FUN_TARGET!>@JsFun("() => {}")<!>
|
|
fun memberFun(): Unit {}
|
|
}
|