[Webkit-unassigned] [Bug 167962] [ESnext] Implement Object Rest - Implementing Object Rest Destructuring

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 16 10:25:24 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=167962

--- Comment #54 from Mark Lam <mark.lam at apple.com> ---
Comment on attachment 310256
  --> https://bugs.webkit.org/attachment.cgi?id=310256
WIP - Patch RFC

View in context: https://bugs.webkit.org/attachment.cgi?id=310256&action=review

> Source/JavaScriptCore/parser/Nodes.h:2133
> -            m_targetPatterns.append(Entry { Identifier(), propertyExpression, false, pattern, defaultValue });
> +            m_targetPatterns.append(Entry{ Identifier(), propertyExpression, false, pattern, defaultValue, bindingType });

Don't pass a stack instance of Identifier here.  Instead, you should have appendEntry() take a VM&, and pass vm.propertyNames->nullIdentifier here instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170516/77b1fa1d/attachment.html>


More information about the webkit-unassigned mailing list