Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 598cda65c4a2c2af24667bc86fdc1ed5cbafec23
https://github.com/WebKit/WebKit/commit/598cda65c4a2c2af24667bc86fdc1ed5cbafec23
Author: Yijia Huang <[email protected]>
Date: 2022-11-09 (Wed, 09 Nov 2022)
Changed paths:
A JSTests/stress/destructing-in.js
M Source/JavaScriptCore/parser/Parser.cpp
Log Message:
-----------
Fix `in` operator inside for statement destructuring
https://bugs.webkit.org/show_bug.cgi?id=247436
rdar://102065296
Reviewed by Alexey Shvayka.
Destructing statement should allow `in` operator even in `for...in/of`.
* JSTests/stress/destructing-in.js: Added.
(shouldBe):
* Source/JavaScriptCore/parser/Parser.cpp:
(JSC::Parser<LexerType>::parseVariableDeclarationList):
Canonical link: https://commits.webkit.org/256497@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes