Closed mauke closed 11 months ago
exit has higher precedence than ?:, so exit $has_errors ? 1 : 0 parses as (exit $has_errors) ? 1 : 0, which is not what was intended.
exit
?:
exit $has_errors ? 1 : 0
(exit $has_errors) ? 1 : 0
exit
has higher precedence than?:
, soexit $has_errors ? 1 : 0
parses as(exit $has_errors) ? 1 : 0
, which is not what was intended.