From 2d86d1f8fb217456d8bcc4b401ce7d143aa36ee9 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Wed, 17 Aug 2022 22:51:27 -0700 Subject: Restore the `extern` heap type (#4898) The GC proposal has split `any` and `extern` back into two separate types, so reintroduce `HeapType::ext` to represent `extern`. Before it was originally removed in #4633, externref was a subtype of anyref, but now it is not. Now that we have separate heaptype type hierarchies, make `HeapType::getLeastUpperBound` fallible as well. --- test/multi-table.wast.fromBinary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/multi-table.wast.fromBinary') diff --git a/test/multi-table.wast.fromBinary b/test/multi-table.wast.fromBinary index 105706621..427fb44f3 100644 --- a/test/multi-table.wast.fromBinary +++ b/test/multi-table.wast.fromBinary @@ -5,7 +5,7 @@ (global $g2 i32 (i32.const 0)) (table $t2 3 3 funcref) (table $t3 4 4 funcref) - (table $textern 0 anyref) + (table $textern 0 externref) (table $tspecial 5 5 (ref null $none_=>_none)) (elem $0 (table $t1) (i32.const 0) func $f) (elem $1 (table $t2) (i32.const 0) func $f) -- cgit v1.2.3