[Bug 27537] [XP31] Sequence on lhs of arrow operator

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27537

--- Comment #4 from Michael Kay <mike@saxonica.com> ---
Note also:

(a) (editorial) the production for ArrowFunctionSpecifier should be included in
section  3.2.3

(b) contrary to my comment #0, the syntax could probably become

[NN]    ArrowExpr ::= UnaryExpr "=>" ArrowFunctionSpecifier ArgumentList

The effect of the change would be to make unary +/-, !, and / on the left bind
more tightly than =>, for example

-1 => abs()
//x => count()
a!tokenize()!upper-case() => distinct-values()

now work as one might expect. (Note, it's natural to put spaces around the
lower-precedence operator).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 11 December 2014 15:59:54 UTC