Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 90b95a3284a6c0db6ed7a07874c107dbb08972a2
https://github.com/WebKit/WebKit/commit/90b95a3284a6c0db6ed7a07874c107dbb08972a2
Author: Yusuke Suzuki <[email protected]>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
A JSTests/stress/import-lhs.js
M Source/JavaScriptCore/parser/Parser.cpp
Log Message:
-----------
Access of import in LHS throws unexpected `SyntaxError`
https://bugs.webkit.org/show_bug.cgi?id=247497
rdar://102064736
Reviewed by Mark Lam.
We should clear LHS count when evaluation AssignmentExpression for arguments of
import,
since these assignment does not make import call assignment target. This patch
fixes it.
* Source/JavaScriptCore/parser/Parser.cpp:
(JSC::Parser<LexerType>::parseMemberExpression):
Canonical link: https://commits.webkit.org/256470@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes