| Summary: | FunctionBodyNode should known where its parameters started | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Geoffrey Garen <ggaren> | ||||
| Component: | New Bugs | Assignee: | Geoffrey Garen <ggaren> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Geoffrey Garen
2015-03-20 15:52:15 PDT
Created attachment 249140 [details]
Patch
Attachment 249140 [details] did not pass style-queue:
ERROR: Source/JavaScriptCore/parser/Nodes.cpp:178: Wrong number of spaces before statement. (expected: 8) [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/parser/Nodes.cpp:179: Wrong number of spaces before statement. (expected: 8) [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/parser/Nodes.cpp:180: Wrong number of spaces before statement. (expected: 8) [whitespace/indent] [4]
Total errors found: 3 in 7 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 249140 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249140&action=review > Source/JavaScriptCore/parser/Nodes.cpp:174 > + ParserArena&, const JSTokenLocation& startLocation, > + const JSTokenLocation& endLocation, unsigned startColumn, unsigned endColumn, > + int functionKeywordStart, int functionNameStart, int parametersStart, > + bool isInStrictContext, ConstructorKind constructorKind) These lines need to be indented further by 4 spaces (8 spaces total). Committed r181818: <http://trac.webkit.org/changeset/181818> |