mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 06:20:23 +08:00

After commit 6dd6a57c606afa6673f7950364f8a76610e4106d, 3 remaining builtins were affected by uint8_t overflow: `exit`, `return`, and `functions --query`. This commit: - Moves the overflow check from `builtin_set_query` to `builtin_run`. - Removes a conflicting int -> uint8_t conversion in `builtin_return`. - Adds tests for the 3 remaining affected builtins. - Simplifies the wording for the documentation for `set --query`. - Does not change documentation for `functions --query`, because it does not state the exit code in its API. - Updates the CHANGELOG to reflect the change to all builtins.