From 071431bac6269ff8bcfa95194c94446314a2394d Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 17 May 2023 09:42:58 -0700 Subject: Print function types on function imports in the text format (#5727) The function type should be printed there just like for non-imported functions. --- test/reference-types.wast.fromBinary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/reference-types.wast.fromBinary') 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)) -- cgit v1.2.3