A return statement with a || expression generates bad code
Opened this issue · 1 comments
snoopyjc commented
A return
statement with a ||
expression generates bad code. For example:
sub IS_A_NUMBER {
return ($_[0] =~ /^(\+|-)?([0-9]|\.)+$/) || 0 ;
}
snoopyjc commented
Fixed in 0.933: https://github.com/snoopyjc/pythonizer