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

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


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

            Bug ID: 172658
           Summary: Redeclaration error for let in for loop
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: All
            Status: NEW
          Severity: Blocker
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: me at boopathi.in

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 ;; ); 
}

-- 
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/20170526/4121b765/attachment-0001.html>


More information about the webkit-unassigned mailing list