[webkit-changes] [WebKit/WebKit] a636b4: [JSC] SyntaxError message for missing statement as...

Commit Queue noreply at github.com
Thu Sep 21 13:32:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a636b441f67ec94b63e31cc26fe293aa23e46951
      https://github.com/WebKit/WebKit/commit/a636b441f67ec94b63e31cc26fe293aa23e46951
  Author: Alexey Shvayka <ashvayka at apple.com>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

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

  Log Message:
  -----------
  [JSC] SyntaxError message for missing statement as the body of for-in / for-of has a typo
https://bugs.webkit.org/show_bug.cgi?id=145765
<rdar://problem/115849153>

Reviewed by Keith Miller and Justin Michaud.

* LayoutTests/js/parser-syntax-check-expected.txt:
* LayoutTests/js/script-tests/parser-syntax-check.js:
* Source/JavaScriptCore/parser/Parser.cpp:
(JSC::Parser<LexerType>::parseForStatement):

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




More information about the webkit-changes mailing list