Add tests for conflicting-but-ultimately-dropped values.#305
Merged
sunfishcode merged 3 commits intovoidfrom Jul 6, 2016
Merged
Add tests for conflicting-but-ultimately-dropped values.#305sunfishcode merged 3 commits intovoidfrom
sunfishcode merged 3 commits intovoidfrom
Conversation
ml-proto/test/br.wast
Outdated
| "unknown label" | ||
| ) | ||
|
|
||
| ;; Test that the value operand of br_if matches the result type of the block |
Member
There was a problem hiding this comment.
comment says br_if, but no br_if in test?
Fix the type of the condition of an if, so that the test tests what it's supposed to test.
Member
|
LGTM |
Member
Author
|
Merging with LGTM, and note that this is just on the void branch, rather than master at this time. |
ngzhian
added a commit
to ngzhian/spec
that referenced
this pull request
Nov 4, 2021
This is sufficient to pass simd_f32x4.wast, simd_f32x4_arith.wast, and simd_f32x4_cmp.wast.
rossberg
pushed a commit
that referenced
this pull request
Jul 23, 2024
This moves legacy JS API tests, which use the old `try` instruction, into `test/legacy/js-api`. This also moves the legacy core tests from `test/legacy` to `test/legacy/core`.
rossberg
pushed a commit
that referenced
this pull request
Jul 23, 2024
These two tests used to be in https://github.com/WebAssembly/exception-handling/tree/main/test/js-api/exception and were moved into https://github.com/WebAssembly/exception-handling/tree/main/test/legacy/exceptions/js-api in #305. I'm planning new version of these tests that use `try_table` and `throw_ref` in https://github.com/WebAssembly/exception-handling/tree/main/test/js-api/exception, but it wouldn't require to rewrite the whole tests, but copying these tests into the this directory and modify them in a single PR makes Github think these are brand-new files, resulting in a large diff containing the whole files that is difficult to review (and which has been reviewed and in the repo for a long time already). So I'm making a PR that only re-adds these file here so that I can add changes to these files in another PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a PR against the void branch, which adds a few more tests.
Specifically, this tests constructs which merge values from two control paths, to ensure that the types match even when the resulting value is dropped.