From 92cdc7245b715d88cf986a7eaf78c49ea64ba825 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Mon, 22 Aug 2022 16:21:19 -0700 Subject: Separate `func` into a separate type hierarchy (#4955) Just like `extern` is no longer a subtype of `any` in the new GC type system, `func` is no longer a subtype of `any`, either. Make that change in our type system implementation and update tests and fuzzers accordingly. --- test/exception-handling.wast.fromBinary | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/exception-handling.wast.fromBinary') diff --git a/test/exception-handling.wast.fromBinary b/test/exception-handling.wast.fromBinary index 5642a4f2d..74e8f4d4a 100644 --- a/test/exception-handling.wast.fromBinary +++ b/test/exception-handling.wast.fromBinary @@ -3,11 +3,11 @@ (type $i32_=>_none (func (param i32))) (type $i64_=>_none (func (param i64))) (type $i32_i64_=>_none (func (param i32 i64))) - (type $funcref_=>_none (func (param funcref))) + (type $eqref_=>_none (func (param eqref))) (tag $tag$0 (param i32)) (tag $tag$1 (param i64)) (tag $tag$2 (param i32 i64)) - (tag $tag$3 (param funcref)) + (tag $tag$3 (param eqref)) (tag $tag$4 (param)) (func $foo (nop) @@ -403,7 +403,7 @@ ) (catch $tag$3 (drop - (pop funcref) + (pop eqref) ) ) ) -- cgit v1.2.3