From cd94f8af963ea8233fc15db35ff8d9e70aff22cf Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Mon, 18 Sep 2023 10:45:36 -0700 Subject: 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. --- test/lit/validation/supertypes-no-gc.wast | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/lit/validation') 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) -- cgit v1.2.3