Bug 157513
Summary: | Fix the !ENABLE(ES6_ARROWFUNCTION_SYNTAX) build after r198927 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | benjamin, caitp, ggaren, ossy, saam |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 155988 |
Csaba Osztrogonác
http://trac.webkit.org/changeset/192661 broke the !ENABLE(ES6_ARROW_SYNTAX) build
build log:
../../Source/JavaScriptCore/parser/Parser.cpp: In member function 'typename TreeBuilder::Expression JSC::Parser<LexerType>::parseAssignmentExpression(TreeBuilder&, JSC::Parser<LexerType>::ExpressionErrorClassifier&)':
../../Source/JavaScriptCore/parser/Parser.cpp:3090:26: error: 'savePoint' was not declared in this scope
savePoint is defined inside ENABLE(ES6_ARROWFUNCTION_SYNTAX) guard, but used without guards.
r192661 is a half year old change and nobody noticed this breakage since then.
Should we fix this error or should we remove these broken guards?
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Caitlin Potter (:caitp)
It's broken in trunk, but that changeset does not have this issue.
The savePoint was put inside the ENABLE(ES6_ARROW_SYNTAX) guards in http://trac.webkit.org/changeset/198927 several weeks ago.
/CC sbarati@apple.com
Csaba Osztrogonác
(In reply to comment #1)
> It's broken in trunk, but that changeset does not have this issue.
>
> The savePoint was put inside the ENABLE(ES6_ARROW_SYNTAX) guards in
> http://trac.webkit.org/changeset/198927 several weeks ago.
>
> /CC sbarati@apple.com
Really, you're right.
Saam Barati
We should just get rid of ENABLE_ES6_ARROW_SYNTAX
It's stable now and shouldn't be behind a compile time flag.
Csaba Osztrogonác
Filed a new bug report to remove this guard - bug157564 .