webassemblyjs icon indicating copy to clipboard operation
webassemblyjs copied to clipboard

`Assertion error: expected token of type closeParen, given keyword (call)`

Open coderaiser opened this issue 8 months ago • 0 comments

Would be great to have support of call instruction:


  (import "env" "greet" (func $greet))

  (func
    call $greet
   ^^^^
  )

  (start 1)
)

Assertion error: expected token of type closeParen, given keyword (call)

https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/Control_flow/call

https://astexplorer.net/#/gist/f12f26496bb2793f0c317166b9f3d399/4a7b1cd797faed584c4c192615d3389ced1a8a1d

coderaiser avatar Apr 22 '25 21:04 coderaiser