[Wasm] Restrict types allowed in JS interop
- Prohibit Any, Array and other unsupported non-external types in JS interop context - Add K1 diagnostic - Update BE testdata ^KT-57136 Fixed
This commit is contained in:
committed by
Space Team
parent
bb05c8528f
commit
1e91fe155b
@@ -53,7 +53,7 @@ external class C {
|
||||
val x1: Int
|
||||
val x2: Int
|
||||
fun foo(x3: Int = definedExternally, x4: Int = definedExternally): String
|
||||
fun bar(x5: C = definedExternally, x6: Any = definedExternally) : String
|
||||
fun bar(x5: C = definedExternally, x6: C = definedExternally) : String
|
||||
}
|
||||
|
||||
open external class Writable: WritableStream {
|
||||
|
||||
Reference in New Issue
Block a user