Skip to content

Commit

Permalink
Fix copy-pasto in error message for native unsigned ints
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jun 11, 2022
1 parent b5a82d2 commit ffdeecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/bootstrap.c/BOOTSTRAP.nqp
Expand Up @@ -232,7 +232,7 @@ my class Binder {
elsif $desired_native == $SIG_ELEM_NATIVE_UINT_VALUE {
unless !$got_native && nqp::iscont_u($oval) {
if nqp::defined($error) {
$error[0] := "Expected a modifiable native int argument for '$varname'";
$error[0] := "Expected a modifiable native unsigned int argument for '$varname'";
}
return $BIND_RESULT_FAIL;
}
Expand Down

0 comments on commit ffdeecd

Please sign in to comment.