RESOLVED INVALID227187
Nonsensical error message when using a variable named eval in the same scope as a usage of eval
https://bugs.webkit.org/show_bug.cgi?id=227187
Summary Nonsensical error message when using a variable named eval in the same scope ...
Oliver Hunt
Reported 2021-06-19 17:32:33 PDT
Given this exciting function: function f() { let eval=eval; print(a)} We get the error Cannot access uninitialized variable It appears that triggering this requires using a variable named eval, and also accessing eval in the same scope. This is very clearly a P0 :D
Attachments
Radar WebKit Bug Importer
Comment 1 2021-06-26 17:33:17 PDT
Oliver Hunt
Comment 2 2024-08-14 14:09:47 PDT
I wish I recalled the context for this, but afaict given current semantics this is correct behavior.
Note You need to log in before you can comment on or make changes to this bug.