Skip to content

Commit

Permalink
jso: fix support of optional JSByRef parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
konsoletyper committed Feb 7, 2025
1 parent 0b1559c commit e28b27c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1106,8 +1106,8 @@ private boolean validateSignature(MethodReader method, CallLocation callLocation
if (optionalValue == null || !optionalValue.getBoolean()) {
diagnostics.error(callLocation, "Parameter " + (i + 1) + " of method {{m0}} is marked with "
+ "@JSByRef, which is not supported in Wasm GC", method.getReference());
return false;
}
return false;
} else {
byRefParams[i] = true;
}
Expand Down

0 comments on commit e28b27c

Please sign in to comment.