mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
wasm module: globals, constant expressions and function reference types (#17950)
This commit is contained in:
@@ -22,7 +22,7 @@ fn validate(mod []u8) ! {
|
||||
proc.close()
|
||||
}
|
||||
|
||||
fn test_add() {
|
||||
fn test_block() {
|
||||
mut m := wasm.Module{}
|
||||
mut a1 := m.new_function('param', [], [.i32_t])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user