[Webkit-unassigned] [Bug 149338] [ES6] Arrow function created before super() causes TDZ, should it?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 18 00:06:09 PDT 2015


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

--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org> ---
>     constructor() {
>         let x = () => {}; // TDZ because of capturing "this"
>         super();
>     }

I should clarify that the comment is my assumption. But I don't know what else could be causing the issue =)

I don't think this should trigger a TDZ. Even if `x` was evaluated `x()` I don't think it should be an issue as long as it doesn't actually reference `this`.

-- 
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/20150918/b65007eb/attachment.html>


More information about the webkit-unassigned mailing list