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.noDebugInfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/reference-types.wast.fromBinary.noDebugInfo') diff --git a/test/reference-types.wast.fromBinary.noDebugInfo b/test/reference-types.wast.fromBinary.noDebugInfo index bb5cdb740..95b058c2a 100644 --- a/test/reference-types.wast.fromBinary.noDebugInfo +++ b/test/reference-types.wast.fromBinary.noDebugInfo @@ -9,7 +9,7 @@ (type $i32_=>_none (func (param i32))) (type $eqref_=>_funcref (func (param eqref) (result funcref))) (import "env" "import_global" (global $gimport$0 eqref)) - (import "env" "import_func" (func $fimport$0 (param eqref) (result funcref))) + (import "env" "import_func" (func $fimport$0 (type $eqref_=>_funcref) (param eqref) (result funcref))) (global $global$0 (mut eqref) (ref.null none)) (global $global$1 (mut funcref) (ref.null nofunc)) (global $global$2 (mut funcref) (ref.func $3)) -- cgit v1.2.3