Open mauke opened 10 months ago
exit has higher precedence than ?:, so exit $result->was_successful ? 0 : 1 parses as (exit $result->was_successful) ? 0 : 1, which is not what was intended.
exit
?:
exit $result->was_successful ? 0 : 1
(exit $result->was_successful) ? 0 : 1
exit
has higher precedence than?:
, soexit $result->was_successful ? 0 : 1
parses as(exit $result->was_successful) ? 0 : 1
, which is not what was intended.