[webkit-changes] [WebKit/WebKit] dbcb33: [JSC] incorrectly reports SyntaxError when destruc...

serakeri noreply at github.com
Thu Sep 5 10:13:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dbcb33d932fcf807466b7307cba24012ab4cc7f5
      https://github.com/WebKit/WebKit/commit/dbcb33d932fcf807466b7307cba24012ab4cc7f5
  Author: Sara Kelley <serakeri at gmail.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M LayoutTests/js/let-syntax-expected.txt
    M LayoutTests/js/script-tests/let-syntax.js
    M Source/JavaScriptCore/parser/Parser.cpp

  Log Message:
  -----------
  [JSC] incorrectly reports SyntaxError when destructuring `let`
https://bugs.webkit.org/show_bug.cgi?id=157974

Reviewed by Darin Adler.

Raise lexical error later to allow destructuring let

* Source/JavaScriptCore/parser/Parser.cpp:
(JSC::Parser<LexerType>::parseDestructuringPattern):

Canonical link: https://commits.webkit.org/283217@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list