# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #114210]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114210 >


10:58 < moritz> r: say not(0) + 1
10:58 <+p6eval> rakudo 4eeffc: OUTPUT«False␤»
10:59 < moritz> r: say (not 0) + 1
10:59 <+p6eval> rakudo 4eeffc: OUTPUT«2␤»

But S03 says:

In term position, any identifier followed immediately by a
parenthesized expression is always parsed as a term representing
a function call even if that identifier also has a prefix meaning,
so you never have to worry about precedence in that case.  Hence:

    not($x) + 1         # means (not $x) + 1
    abs($x) + 1         # means (abs $x) + 1

Reply via email to