diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2022-06-10 11:24:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 11:24:48 -0700 |
commit | 9fbfe0f200f716a6c9a045c6a3f2606b99af8dea (patch) | |
tree | 06b2ea8641eb526805e7b7f1de43b713203580d5 /test/heap-types.wast.fromBinary | |
parent | 0b66981d0e3aa958877b5c04769e75836497b4c0 (diff) | |
download | binaryen-9fbfe0f200f716a6c9a045c6a3f2606b99af8dea.tar.gz binaryen-9fbfe0f200f716a6c9a045c6a3f2606b99af8dea.tar.bz2 binaryen-9fbfe0f200f716a6c9a045c6a3f2606b99af8dea.zip |
Include globals when collecting module types (#4717)
Otherwise when a type is only used on a global, it will be incorrectly omitted
from the output.
Diffstat (limited to 'test/heap-types.wast.fromBinary')
-rw-r--r-- | test/heap-types.wast.fromBinary | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/heap-types.wast.fromBinary b/test/heap-types.wast.fromBinary index f6b364b14..2f1cac1c5 100644 --- a/test/heap-types.wast.fromBinary +++ b/test/heap-types.wast.fromBinary @@ -5,9 +5,9 @@ (type $none_=>_none (func)) (type $grandchild (struct (field i32) (field i64))) (type $matrix (array (mut (ref null $vector)))) - (type $struct.C (struct (field $named-mut (mut f32)))) (type $parent (struct )) (type $child (struct (field i32))) + (type $struct.C (struct (field $named-mut (mut f32)))) (type $bytes (array (mut i8))) (type $anyref_=>_none (func (param anyref))) (type $nested-child-struct (struct (field (mut (ref $child))))) |