<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>157513</bug_id>
          
          <creation_ts>2016-05-10 06:35:21 -0700</creation_ts>
          <short_desc>Fix the !ENABLE(ES6_ARROWFUNCTION_SYNTAX) build after r198927</short_desc>
          <delta_ts>2016-05-11 03:10:32 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>155988</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>caitp</cc>
    
    <cc>ggaren</cc>
    
    <cc>ossy</cc>
    
    <cc>saam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1191493</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-05-10 06:35:21 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/192661 broke the !ENABLE(ES6_ARROW_SYNTAX) build

build log:
../../Source/JavaScriptCore/parser/Parser.cpp: In member function &apos;typename TreeBuilder::Expression JSC::Parser&lt;LexerType&gt;::parseAssignmentExpression(TreeBuilder&amp;, JSC::Parser&lt;LexerType&gt;::ExpressionErrorClassifier&amp;)&apos;:
../../Source/JavaScriptCore/parser/Parser.cpp:3090:26: error: &apos;savePoint&apos; 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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191496</commentid>
    <comment_count>1</comment_count>
    <who name="Caitlin Potter (:caitp)">caitp</who>
    <bug_when>2016-05-10 06:46:34 -0700</bug_when>
    <thetext>It&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191497</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-05-10 06:48:48 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; It&apos;s broken in trunk, but that changeset does not have this issue.
&gt; 
&gt; The savePoint was put inside the ENABLE(ES6_ARROW_SYNTAX) guards in
&gt; http://trac.webkit.org/changeset/198927 several weeks ago.
&gt; 
&gt; /CC sbarati@apple.com

Really, you&apos;re right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191526</commentid>
    <comment_count>3</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2016-05-10 08:49:23 -0700</bug_when>
    <thetext>We should just get rid of ENABLE_ES6_ARROW_SYNTAX

It&apos;s stable now and shouldn&apos;t be behind a compile time flag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191896</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-05-11 03:10:32 -0700</bug_when>
    <thetext>Filed a new bug report to remove this guard - bug157564 .</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>