[webkit-changes] [WebKit/WebKit] 27567f: [JSC] parseMemberExpression() should create NewExp...

Commit Queue noreply at github.com
Wed Jan 24 13:03:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 27567fb2a9f316d9bc6a1b75d2b94b02731756c6
      https://github.com/WebKit/WebKit/commit/27567fb2a9f316d9bc6a1b75d2b94b02731756c6
  Author: Alexey Shvayka <ashvayka at apple.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M Source/JavaScriptCore/parser/Parser.cpp

  Log Message:
  -----------
  [JSC] parseMemberExpression() should create NewExpr with expression start location
https://bugs.webkit.org/show_bug.cgi?id=268022
<rdar://problem/121544630>

Reviewed by Yusuke Suzuki and Justin Michaud.

This was the idea of https://bugs.webkit.org/show_bug.cgi?id=267728, yet unfortunately in-between
implementation revisions the case of correct location for `new new new C` did regress.

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

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




More information about the webkit-changes mailing list