Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit caf5877

Browse files
authored
Fix type in return_call_ref.wast (#549)
The modified test case previously had two errors. Fix the unintentional error, ensuring that the test properly tests the intended error.
1 parent c9211ad commit caf5877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/core/return_call_ref.wast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
(assert_invalid
379379
(module
380380
(type $ty (func (result i32 i32)))
381-
(func (param funcref) (result i32)
381+
(func (param (ref $ty)) (result i32)
382382
local.get 0
383383
return_call_ref $ty
384384
)

0 commit comments

Comments
 (0)