summaryrefslogtreecommitdiff
path: root/test/spec
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-01-03 13:36:27 -0800
committerGitHub <noreply@github.com>2024-01-03 13:36:27 -0800
commitc923521a61205dd2358201e311b009886e095381 (patch)
tree4c28cc0bca3b82f74586aa7009d20835a9455a17 /test/spec
parenta6bc9542e98b4164d3a26c67c94b1136b4fc8b86 (diff)
downloadbinaryen-c923521a61205dd2358201e311b009886e095381.tar.gz
binaryen-c923521a61205dd2358201e311b009886e095381.tar.bz2
binaryen-c923521a61205dd2358201e311b009886e095381.zip
Drop support for type annotations on array.len (#6197)
These type annotations were removed during the development of the GC proposal, but we maintained support for parsing them to ease the transition. Now that GC is shipped, remove support for the non-standard annotation and update our tests accordingly.
Diffstat (limited to 'test/spec')
-rw-r--r--test/spec/array.wast2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec/array.wast b/test/spec/array.wast
index 6e7b8cddb..d9b75e287 100644
--- a/test/spec/array.wast
+++ b/test/spec/array.wast
@@ -83,7 +83,7 @@
)
(func $len (param $v (ref $vec)) (result i32)
- (array.len $vec (local.get $v))
+ (array.len (local.get $v))
)
(func (export "len") (result i32)
(call $len (array.new_default $vec (i32.const 3)))