diff options
author | Thomas Lively <tlively@google.com> | 2024-01-26 10:33:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 10:33:40 -0800 |
commit | 5d297dca547fdca2d525f251a27d0a94fc2c2674 (patch) | |
tree | de2eaa163260754ec94265d50a45dcb5e9661d32 /test/lit/validation/bad-non-nullable-locals.wast | |
parent | d23a63fce8635aa6e401d016a5d0bf23f6f030e8 (diff) | |
download | binaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.tar.gz binaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.tar.bz2 binaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.zip |
Update the text syntax for tuple types (#6246)
Instead of e.g. `(i32 i32)`, use `(tuple i32 i32)`. Having a keyword to
introduce the s-expression is more consistent with the rest of the language.
Diffstat (limited to 'test/lit/validation/bad-non-nullable-locals.wast')
-rw-r--r-- | test/lit/validation/bad-non-nullable-locals.wast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit/validation/bad-non-nullable-locals.wast b/test/lit/validation/bad-non-nullable-locals.wast index 558759aeb..a7c8edf81 100644 --- a/test/lit/validation/bad-non-nullable-locals.wast +++ b/test/lit/validation/bad-non-nullable-locals.wast @@ -68,7 +68,7 @@ (func $tuple ;; Since this tuple local has a non-nullable element, it is subject to the ;; non-nullability rules. - (local $x (i32 (ref any) i64)) + (local $x (tuple i32 (ref any) i64)) (tuple.drop 3 (local.get $x) ) |