Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rossberg
Copy link
Collaborator

@rossberg rossberg commented Jun 4, 2024

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.

@rossberg rossberg requested a review from ShinWonho June 4, 2024 10:01
@ShinWonho ShinWonho force-pushed the bug.invoke-typechecks branch from 1ecd435 to b55bf44 Compare July 19, 2024 07:38
@presenthee
Copy link
Collaborator

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

  • Removed the animate option
  • Handled rule premises based on suffix matching
    rule _ok and _const are translated into AssertI. Currently, assertions are not working in the interpreter (thus they are ignored now) and we will revisit this after implementing assertions in the interpreter.

@rossberg rossberg merged commit 88e8450 into main Jul 23, 2024
@rossberg rossberg deleted the bug.invoke-typechecks branch July 23, 2024 06:52
@rossberg
Copy link
Collaborator Author

Thanks @presenthee & @ShinWonho!

rossberg pushed a commit that referenced this pull request Jan 20, 2025
Alan-Liang pushed a commit to altk-contrib/spectec that referenced this pull request Aug 8, 2025
This patch brings the encoding and decoding of tag imports in sync
with the exception handling proposal.

Resolves Wasm-DSL#101.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants