From 11ec03ce930121736655769b9bbccaae0280b64c Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 3 Mar 2021 19:53:26 +0000 Subject: [Wasm GC] Parse text field names even of types that end up canonicalized together (#3647) Names of structurally identical types end up "collapsed" together after the types are canonicalized, but with this PR we can properly read content that has structurally identical types with different names. --- test/heap-types.wast.fromBinary | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/heap-types.wast.fromBinary') diff --git a/test/heap-types.wast.fromBinary b/test/heap-types.wast.fromBinary index 62590b5f7..90e129511 100644 --- a/test/heap-types.wast.fromBinary +++ b/test/heap-types.wast.fromBinary @@ -51,6 +51,11 @@ (local.get $x) ) ) + (drop + (struct.get $struct.A $named + (ref.null $struct.A) + ) + ) (drop (struct.get_u $struct.B 0 (local.get $tB) -- cgit v1.2.3