diff options
author | Alon Zakai <azakai@google.com> | 2023-05-17 09:42:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 16:42:58 +0000 |
commit | 071431bac6269ff8bcfa95194c94446314a2394d (patch) | |
tree | 455511db1f4c934d205b9b55ba3e568057e52dce /test/reference-types.wast.fromBinary | |
parent | aab5f274773f4e1567b02e6950b4d22119cf801d (diff) | |
download | binaryen-071431bac6269ff8bcfa95194c94446314a2394d.tar.gz binaryen-071431bac6269ff8bcfa95194c94446314a2394d.tar.bz2 binaryen-071431bac6269ff8bcfa95194c94446314a2394d.zip |
Print function types on function imports in the text format (#5727)
The function type should be printed there just like for non-imported
functions.
Diffstat (limited to 'test/reference-types.wast.fromBinary')
-rw-r--r-- | test/reference-types.wast.fromBinary | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/reference-types.wast.fromBinary b/test/reference-types.wast.fromBinary index 5031aeb1e..609e91866 100644 --- a/test/reference-types.wast.fromBinary +++ b/test/reference-types.wast.fromBinary @@ -9,7 +9,7 @@ (type $i32_=>_none (func (param i32))) (type $eqref_=>_funcref (func (param eqref) (result funcref))) (import "env" "import_global" (global $import_global eqref)) - (import "env" "import_func" (func $import_func (param eqref) (result funcref))) + (import "env" "import_func" (func $import_func (type $eqref_=>_funcref) (param eqref) (result funcref))) (global $global_eqref (mut eqref) (ref.null none)) (global $global_funcref (mut funcref) (ref.null nofunc)) (global $global_funcref_func (mut funcref) (ref.func $foo)) |