[Webkit-unassigned] [Bug 172658] Redeclaration error - let in for loop

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 26 17:13:31 PDT 2017


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

Saam Barati <sbarati at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CONFIGURATION CHANGED

--- Comment #1 from Saam Barati <sbarati at apple.com> ---
(In reply to Boopathi from comment #0)
> The following code is valid ES6 and Safari and Safari Technology Preview
> throws a SyntaxError: Cannot declare a let variable twice
> 
> function foo ( a ) {
>   for ( let a ;; ); 
> }

Thanks for the report. We fixed this recently:
https://trac.webkit.org/changeset/217200/webkit

You can verify by getting a webkit nightly

-- 
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/20170527/8a7304f9/attachment.html>


More information about the webkit-unassigned mailing list