[Webkit-unassigned] [Bug 149615] [ES6] Arrow function syntax. Arrow function specific features. Lexical bind "super" property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 22 12:42:51 PST 2015


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

--- Comment #10 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 267762
  --> https://bugs.webkit.org/attachment.cgi?id=267762
Patch

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

> Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h:805
> +            if (needsToUpdateArrowFunctionContext()) {

This condition confuses me here. Don't we only care about this if the function we're creating is an arrow function?
If it's not an arrow function, shouldn't we give it DerivedContextType::None?

> Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:763
> +

style: revert newline

-- 
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/20151222/7a6a3092/attachment.html>


More information about the webkit-unassigned mailing list