Skip to content

Commit

Permalink
Updated multi-value message (#1797)
Browse files Browse the repository at this point in the history
  • Loading branch information
jzabinski-dolios authored Jan 10, 2022
1 parent 475c671 commit 3cd653a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/shared-validator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ Result SharedValidator::OnFuncType(const Location& loc,
Index type_index) {
Result result = Result::Ok;
if (!options_.features.multi_value_enabled() && result_count > 1) {
result |=
PrintError(loc, "multiple result values not currently supported.");
result |= PrintError(loc,
"multiple result values are not supported without "
"multi-value enabled.");
}
func_types_.emplace(
num_types_++,
Expand Down

0 comments on commit 3cd653a

Please sign in to comment.