RESOLVED FIXED247725
Computed Name in Async Method
https://bugs.webkit.org/show_bug.cgi?id=247725
Summary Computed Name in Async Method
Kanguk Lee
Reported 2022-11-10 04:08:05 PST
// input.js class x { async [ "f" ] ( ) { } } print(x.prototype.f.name); _____________________ Hello, Executing the input.js using JSC prints "async", but "f" is expected. Running the input.js with JSC results in: --- $ jsc input.js async --- while other engines behave like: --- # V8 (used console.log) $ node input.js f # GraalJS $ js input.js f --- WebKit version: 615.1.10
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-10 12:30:21 PST
Kanguk Lee
Comment 2 2022-11-11 00:39:41 PST
I've found more cases below: let x = { 0 : x => { } , } ; // x["0"].name is "" but "0" is expected.
Ross Kirsling
Comment 3 2022-11-29 03:52:15 PST
EWS
Comment 4 2022-11-29 06:15:23 PST
Committed 257114@main (c99e9b77dcb6): <https://commits.webkit.org/257114@main> Reviewed commits have been landed. Closing PR #6913 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.