summaryrefslogtreecommitdiff
path: root/test/lit/validation
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-09-18 10:45:36 -0700
committerGitHub <noreply@github.com>2023-09-18 10:45:36 -0700
commitcd94f8af963ea8233fc15db35ff8d9e70aff22cf (patch)
tree044d2a677ab589e49fd56420b1cc570a3cc32418 /test/lit/validation
parent16a59938563c93d8459bf36679c83497aeba7cc7 (diff)
downloadbinaryen-cd94f8af963ea8233fc15db35ff8d9e70aff22cf.tar.gz
binaryen-cd94f8af963ea8233fc15db35ff8d9e70aff22cf.tar.bz2
binaryen-cd94f8af963ea8233fc15db35ff8d9e70aff22cf.zip
Remove legacy type defintion text syntax (#5948)
Remove support for the "struct_subtype", "array_subtype", "func_subtype", and "extends" notations we used at various times to declare WasmGC types, leaving only support for the standard text fromat for declaring types. Update all the tests using the old formats and delete tests that existed solely to test the old formats.
Diffstat (limited to 'test/lit/validation')
-rw-r--r--test/lit/validation/supertypes-no-gc.wast4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit/validation/supertypes-no-gc.wast b/test/lit/validation/supertypes-no-gc.wast
index eeacccfaf..786289c00 100644
--- a/test/lit/validation/supertypes-no-gc.wast
+++ b/test/lit/validation/supertypes-no-gc.wast
@@ -5,8 +5,8 @@
;; CHECK: all used types should be allowed
(module
- (type $f1 (func_subtype func))
- (type $f2 (func_subtype $f1))
+ (type $f1 (sub (func)))
+ (type $f2 (sub $f1 (func)))
(func $test (type $f2)
(unreachable)