diff --git a/compiler/testData/diagnostics/wasmTests/jsInterop/jsFun.kt b/compiler/testData/diagnostics/wasmTests/jsInterop/jsFun.kt index 2314d7e35f6..7ae2cad609e 100644 --- a/compiler/testData/diagnostics/wasmTests/jsInterop/jsFun.kt +++ b/compiler/testData/diagnostics/wasmTests/jsInterop/jsFun.kt @@ -1,5 +1,3 @@ -@file:Suppress("DEPRECATION") - @JsFun("() => {}") external fun topLevelExternalFun(): Unit diff --git a/libraries/stdlib/wasm/src/kotlin/JsInterop.kt b/libraries/stdlib/wasm/src/kotlin/JsInterop.kt index 4ea659c08cf..c2660e20681 100644 --- a/libraries/stdlib/wasm/src/kotlin/JsInterop.kt +++ b/libraries/stdlib/wasm/src/kotlin/JsInterop.kt @@ -17,7 +17,6 @@ package kotlin * * This is a temporary annotation because K/Wasm <-> JS interop is not designed yet. */ -@Deprecated("@JsFun annotation is deprecated, use `fun f() = js(\"code\")` instead.") @Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER) @Retention(AnnotationRetention.BINARY) public annotation class JsFun(val code: String) \ No newline at end of file