[Webkit-unassigned] [Bug 182414] New: Async arrow function with var declaration has incorrect shadowing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 1 17:02:21 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=182414
Bug ID: 182414
Summary: Async arrow function with var declaration has
incorrect shadowing
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: adamk at chromium.org
The following code, run in the shell, should print "7", but prints "undefined":
(async (v) => { print(v); var v; })(7)
Without "async", this gets the right answer.
--
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/20180202/7f8dac11/attachment-0001.html>
More information about the webkit-unassigned
mailing list