[Webkit-unassigned] [Bug 157872] Our parser doesn't properly parse default parameter expressions in a class method
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jun 5 16:04:02 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=157872
Saam Barati <sbarati at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #280222|review? |review+
Flags| |
--- Comment #21 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 280222
--> https://bugs.webkit.org/attachment.cgi?id=280222
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=280222&action=review
r=me
> Source/JavaScriptCore/tests/stress/arrow-functions-as-default-parameter-values.js:200
> + class D extends C {
> +
> + constructor(x = () => super()) {
> + x();
> + }
> +
> + x() {
> + return super.foo;
> + }
> + }
Style Nit: This should be 4 space indent.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160605/1fea3704/attachment.html>
More information about the webkit-unassigned
mailing list