[Webkit-unassigned] [Bug 146621] New: JSC's parser should follow the ES6 spec with respect to parsing Declarations
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 5 10:31:22 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=146621
Bug ID: 146621
Summary: JSC's parser should follow the ES6 spec with respect
to parsing Declarations
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: saambarati1 at gmail.com
CC: basile_clement at apple.com, fpizlo at apple.com,
ggaren at apple.com, mark.lam at apple.com,
msaboff at apple.com, oliver at apple.com, rniwa at webkit.org,
utatane.tea at gmail.com
There are probably a few places where JSC messes up. Notably:
if (b)
class C { . }
Should not be allowed.
Parsing a class is not part of a Statement, rather, it is part of a StatementListItem.
StatementListItem = Statement || Declaration
Here is the relevant grammar:
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-statements
There are probably other places where the parser messes up.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150705/ad16fdfb/attachment.html>
More information about the webkit-unassigned
mailing list