Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

local.get is not supported in .wat #434

Open
ibaryshnikov opened this issue Oct 9, 2019 · 1 comment
Open

local.get is not supported in .wat #434

ibaryshnikov opened this issue Oct 9, 2019 · 1 comment

Comments

@ibaryshnikov
Copy link

test.wat:3:5: error: unexpected token local.get, expected ).

    local.get $lhs
    ^^^^^^^^^

such syntax is often used, for example in https://developer.mozilla.org/en-US/docs/WebAssembly/Understanding_the_text_format

@carlsmith
Copy link

You have to use get_local (likewise get_global) as the Studio is unmaintained, and still uses an obsolete assembler. It's a shame. The Studio a useful tool for learning WAT (and other stuff).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants