WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
145765
[JSC] SyntaxError message for missing statement as the body of for-in / for-of has a typo
https://bugs.webkit.org/show_bug.cgi?id=145765
Summary
[JSC] SyntaxError message for missing statement as the body of for-in / for-o...
Jesse Ruderman
Reported
2015-06-08 13:13:56 PDT
Safari Version 8.0.6 (10600.6.3,
r185316
)
> {for (a in [])}
SyntaxError: Unexpected token '}'. Expected a statement as the body of a for-inloop.
> {for (a of [])}
SyntaxError: Unexpected token '}'. Expected a statement as the body of a for-ofloop. There should be a space before "loop".
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-09-21 10:28:09 PDT
<
rdar://problem/115849153
>
Alexey Shvayka
Comment 2
2023-09-21 11:44:02 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/18030
EWS
Comment 3
2023-09-21 13:32:01 PDT
Committed
268271@main
(a636b441f67e): <
https://commits.webkit.org/268271@main
> Reviewed commits have been landed. Closing PR #18030 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug