Bug 140908 - Parse a function expression as a primary expression
Summary: Parse a function expression as a primary expression
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords:
Depends on:
Blocks: 140491
  Show dependency treegraph
 
Reported: 2015-01-26 16:21 PST by Ryosuke Niwa
Modified: 2015-01-26 17:14 PST (History)
6 users (show)

See Also:


Attachments
Cleanup (2.74 KB, patch)
2015-01-26 16:28 PST, Ryosuke Niwa
no flags Details | Formatted Diff | Diff
Mention failIfStackOverflow() (2.79 KB, patch)
2015-01-26 16:30 PST, Ryosuke Niwa
mark.lam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2015-01-26 16:21:15 PST
A function expression is a primary expression according to ES6 spec:
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-primary-expression

Follow the spec's convention in our code.
Comment 1 Ryosuke Niwa 2015-01-26 16:28:46 PST
Created attachment 245385 [details]
Cleanup
Comment 2 Ryosuke Niwa 2015-01-26 16:30:08 PST
Created attachment 245386 [details]
Mention failIfStackOverflow()
Comment 3 Mark Lam 2015-01-26 16:32:39 PST
Comment on attachment 245386 [details]
Mention failIfStackOverflow()

r=me
Comment 4 Ryosuke Niwa 2015-01-26 17:14:15 PST
Committed r179159: <http://trac.webkit.org/changeset/179159>