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/lit/validation/closed-world-interface-intrinsics.wast | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lit/validation') diff --git a/test/lit/validation/closed-world-interface-intrinsics.wast b/test/lit/validation/closed-world-interface-intrinsics.wast index 0b3515acc..91133d6dc 100644 --- a/test/lit/validation/closed-world-interface-intrinsics.wast +++ b/test/lit/validation/closed-world-interface-intrinsics.wast @@ -16,7 +16,7 @@ ;; CHECK: (type $ref|$struct|_=>_none (func (param (ref $struct)))) - ;; CHECK: (import "binaryen-intrinsics" "call.without.effects" (func $cwe (param (ref $struct) funcref))) + ;; CHECK: (import "binaryen-intrinsics" "call.without.effects" (func $cwe (type $ref|$struct|_funcref_=>_none) (param (ref $struct) funcref))) (import "binaryen-intrinsics" "call.without.effects" (func $cwe (param (ref $struct)) (param funcref))) ;; CHECK: (elem declare func $func) -- cgit v1.2.3