RESOLVED FIXED 268019
[JSC] Computed property keys of class fields should not be reparsed
https://bugs.webkit.org/show_bug.cgi?id=268019
Summary [JSC] Computed property keys of class fields should not be reparsed
Alexey Shvayka
Reported 2024-01-24 11:07:12 PST
because parsing is context-based, and some context like allowance of yield / async is lost when invoking parseClassFieldInitializerSourceElements().
Attachments
Radar WebKit Bug Importer
Comment 1 2024-01-24 11:07:39 PST
Alexey Shvayka
Comment 2 2024-01-24 11:18:19 PST
Related test262 failures: * test/language/expressions/class/cpn-class-expr-fields-computed-property-name-from-yield-expression.js * test/language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-yield-expression.js * test/language/statements/class/cpn-class-decl-fields-computed-property-name-from-yield-expression.js * test/language/statements/class/cpn-class-decl-fields-methods-computed-property-name-from-yield-expression.js
Alexey Shvayka
Comment 3 2024-01-24 12:20:15 PST
EWS
Comment 4 2024-01-29 12:10:30 PST
Committed 273677@main (5553144b15b7): <https://commits.webkit.org/273677@main> Reviewed commits have been landed. Closing PR #23184 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.