I was trying to run this stack switching wast file on wizard and I received the following error message:
> wasm -d control-lwt.wast -o control-lwt.bin.wast && spectest.jvm -ext:stack-switching control-lwt.bin.wast
##+control-lwt.bin.wast
Exception in thread "main" java.lang.NullPointerException
at V3C_SpecTestInterpreter.doInstantiate(Unknown Source)
at V3C_SpecTestInterpreter.doModule(Unknown Source)
at V3C_SpecTestInterpreter.doCommand(Unknown Source)
at V3C_SpecTestInterpreter.run(Unknown Source)
at V3K_spectest.runTest(Unknown Source)
at V3K_spectest.main(Unknown Source)
at V3K_spectest.main(Unknown Source)
I looked into this and it seems like the stack-switching reference interpreter is not in agreement with the exception handling proposal's encoding of import/export tags.
The following code
Wizard seems to parse incorrect Module information when
tag
is imported. It successfully runs when I remove(import "a" "yield")
intag
.Context:
I was trying to run this stack switching wast file on wizard and I received the following error message: