Bug 268274

Summary: [JSC] Rest parameter should be evaluated before VariableEnvironment is set
Product: WebKit Reporter: Alexey Shvayka <ashvayka>
Component: JavaScriptCoreAssignee: Alexey Shvayka <ashvayka>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 268026    

Description Alexey Shvayka 2024-01-28 21:33:15 PST
Related test262 failures:
  * test/language/expressions/arrow-function/scope-param-rest-elem-var-open.js
  * test/language/expressions/function/scope-param-rest-elem-var-open.js
  * test/language/expressions/generators/scope-param-rest-elem-var-open.js
  * test/language/statements/function/scope-param-rest-elem-var-open.js
  * test/language/statements/generators/scope-param-rest-elem-var-open.js
Comment 1 Radar WebKit Bug Importer 2024-01-30 14:45:53 PST
<rdar://problem/121961421>
Comment 2 Alexey Shvayka 2024-02-04 14:56:15 PST
Related test262 failures:
  * test/language/expressions/object/scope-gen-meth-param-rest-elem-var-open.js
  * test/language/expressions/object/scope-meth-param-rest-elem-var-open.js
Comment 3 Alexey Shvayka 2024-02-04 20:17:57 PST
Pull request: https://github.com/WebKit/WebKit/pull/23842
Comment 4 EWS 2024-02-05 11:50:50 PST
Committed 274109@main (c0dd368287d5): <https://commits.webkit.org/274109@main>

Reviewed commits have been landed. Closing PR #23842 and removing active labels.