<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ticaiolima&#64;gmail.com" title="Caio Lima &lt;ticaiolima&#64;gmail.com&gt;"> <span class="fn">Caio Lima</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - We need a better error message for the use let/const/class in a Statement and not a StatementListItem"
   href="https://bugs.webkit.org/show_bug.cgi?id=148098">bug 148098</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>ticaiolima&#64;gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - We need a better error message for the use let/const/class in a Statement and not a StatementListItem"
   href="https://bugs.webkit.org/show_bug.cgi?id=148098#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - We need a better error message for the use let/const/class in a Statement and not a StatementListItem"
   href="https://bugs.webkit.org/show_bug.cgi?id=148098">bug 148098</a>
              from <span class="vcard"><a class="email" href="mailto:ticaiolima&#64;gmail.com" title="Caio Lima &lt;ticaiolima&#64;gmail.com&gt;"> <span class="fn">Caio Lima</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=148098#c1">comment #1</a>)
<span class="quote">&gt; Whenever you're editing this code, there's a case in this area that I
&gt; believe should be allowed, but seems to throw a syntax error:
&gt; 
&gt; ```
&gt; if (true) let: x()
&gt; ```
&gt; 
&gt; or
&gt; 
&gt; ```
&gt; with ({}) let: y()
&gt; ```
&gt; 
&gt; When I run that in JSC, I get
&gt; 
&gt; SyntaxError: Unexpected token ':'. Parse error.
&gt; 
&gt; whereas in V8, ChakraCore and SpiderMonkey, let is permitted as a label.</span >

Daniel, we are solving this bug in <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [JSC] It should be possible create a label named let when parsing Statement in non strict mode"
   href="show_bug.cgi?id=168684">https://bugs.webkit.org/show_bug.cgi?id=168684</a>

Thank you for your report.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>