Wasm-DSL / spectec

Wasm SpecTec specification tools
https://wasm-dsl.github.io/spectec/
Other
27 stars 9 forks source link

Activate runtime type checks #101

Closed rossberg closed 3 months ago

rossberg commented 5 months ago

This PR adds previously missing runtime type checks on the arguments to the instantiate and invoke meta functions. The interpreter cannot currently handle these and will probably need some manual exemptions.

@ShinWonho, can you please look into this? To at least get the spec document correct quickly, perhaps the simplest temporary fix is to somehow just ignore these premises in the interpreter backend.

presenthee commented 3 months ago

@ShinWonho and I made some changes for the temporary fix:

rossberg commented 3 months ago

Thanks @presenthee & @ShinWonho!