tinygo icon indicating copy to clipboard operation
tinygo copied to clipboard

WASM Error with v0.37.0: Unreachable code should not be executed

Open theory opened this issue 7 months ago • 1 comments

I get this error with v0.37.0 but not v0.36.0:

[Error] RuntimeError: Unreachable code should not be executed (evaluating 'this._inst.exports.resume()')
	_resume (wasm_exec.js:514)
	(anonymous function) (wasm_exec.js:526)
	execute (localhost:88)
	(anonymous function) (localhost:138)

Replicate:

git clone https://github.com/theory/jsonpath.git
cd jsonpath
git checkout -b playground origin/playground
make run

Open localhost:8000 for the app and hit "Run Query".

theory avatar Apr 25 '25 22:04 theory