[K/Wasm] Allow to export unsigned numbers
This commit is contained in:
@@ -58,3 +58,9 @@ fun fooDeafultAndVararg(
|
||||
<!WASM_IMPORT_EXPORT_PARAMETER_DEFAULT_VALUE!>a: Int = <!CALL_TO_DEFINED_EXTERNALLY_FROM_NON_EXTERNAL_DECLARATION!>definedExternally<!><!>,
|
||||
<!WASM_IMPORT_EXPORT_UNSUPPORTED_PARAMETER_TYPE, WASM_IMPORT_EXPORT_VARARG_PARAMETER!>vararg b: Int<!>
|
||||
): Unit { b.toString() }
|
||||
|
||||
@WasmExport("a")
|
||||
fun fooUnsigned1(): UInt = 42u
|
||||
|
||||
@WasmExport()
|
||||
fun fooUnsigned2(): UByte = 42u
|
||||
|
||||
Reference in New Issue
Block a user