Skip to content

Commit

Permalink
Fix type in return_call_ref.wast (#549)
Browse files Browse the repository at this point in the history
The modified test case previously had two errors. Fix the unintentional error, ensuring that the test properly tests the intended error.
  • Loading branch information
tlively authored Jul 10, 2024
1 parent c9211ad commit caf5877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/core/return_call_ref.wast
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
(assert_invalid
(module
(type $ty (func (result i32 i32)))
(func (param funcref) (result i32)
(func (param (ref $ty)) (result i32)
local.get 0
return_call_ref $ty
)
Expand Down

0 comments on commit caf5877

Please sign in to comment.