[Wasm] K2 port of definedExternally diagnostic (KT-56849)

This commit is contained in:
Svyatoslav Kuzmich
2023-10-25 16:37:30 +02:00
committed by Space Team
parent 847178d382
commit a8e5655ffe
9 changed files with 98 additions and 4 deletions
@@ -53,6 +53,6 @@ fun <T> fooGeneric(x: T): T { return x }
@WasmExport("a")
fun fooDeafultAndVararg(
a: Int = definedExternally,
a: Int = <!CALL_TO_DEFINED_EXTERNALLY_FROM_NON_EXTERNAL_DECLARATION!>definedExternally<!>,
vararg b: Int
): Unit { b.toString() }