Thanks, sounds good.
(Michael, my "file a bug" reply was to get it recorded, not to say it
was stop-ship or even must-fix. ;-)
/be
Allen Wirfs-Brock wrote:
On Feb 13, 2015, at 11:37 AM, Michael Ficarra wrote:
Even given what Allen said? I'm indifferent toward it at this point.
Allen is right that it's not particularly useful to allow it, but
disallowing it is also inconsistent with all related productions.
You can submit it, but I'll just mark it as deferred for ES7
consideration.
Syntax Errors like this are future proof in the sense, that they can
always be related in the future without breaking anything.
Allen
On Thu, Feb 12, 2015 at 9:45 PM, Brendan Eich <bren...@mozilla.org
<mailto:bren...@mozilla.org>> wrote:
Please file a bug, ASAP. Thanks,
/be
Michael Ficarra wrote:
Is there any reason why a trailing comma is not allowed in an
ArrayBindingPattern when it has a BindingRestElement? I
noticed yesterday that my parser was erroneously allowing
these, but the inconsistency with both ArrayLiterals and
ObjectBindingPatterns is bothering me. Is this simply a
mistake in the grammar? I understand that we wouldn't want to
allow holes or other BindingElements to follow the
BindingRestElement, but I don't see a problem with a single
trailing comma.
Michael Ficarra
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org <mailto:es-discuss@mozilla.org>
https://mail.mozilla.org/listinfo/es-discuss
--
Shape Security is hiring outstanding individuals. Check us out at
_https://shapesecurity.com/jobs/_
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org <mailto:es-discuss@mozilla.org>
https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss