Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
work around jvm NPE on || by using // instead
  • Loading branch information
TimToady committed Apr 8, 2015
1 parent 14bb68b commit cef1aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/LoL.pm
Expand Up @@ -45,7 +45,7 @@ sub find-reducer-for-op($op) {
return &METAOP_REDUCE_LEFT if (nqp::isnull(%prec) or ! %prec);
my $reducer = %prec<prec> eq 'f='
?? 'listinfix'
!! %prec<assoc> || 'left';
!! %prec<assoc> // 'left';
::('&METAOP_REDUCE_' ~ $reducer.uc);
}

Expand Down

0 comments on commit cef1aa3

Please sign in to comment.