<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - ASSERTION FAILED: match(ASYNC)"
   href="https://bugs.webkit.org/show_bug.cgi?id=170732">170732</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ASSERTION FAILED: match(ASYNC)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Local Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>JavaScriptCore
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>andre.bargull&#64;gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>svn revision: 215179

Test case:
---
async function f() {
    await async()=&gt;{}
}
---

Triggers this assertion:
---
ASSERTION FAILED: match(ASYNC)
---

Stacktrace:
---
#0  0x00007ffff6c846f6 in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:323
#1  0x00007ffff67fcdd7 in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseAssignmentExpression&lt;JSC::SyntaxChecker&gt; (this=0x7fffffff9f40, context=..., classifier=...)
    at ../../Source/JavaScriptCore/parser/Parser.cpp:3416
#2  0x00007ffff67e945a in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseAssignmentExpression&lt;JSC::SyntaxChecker&gt; (this=0x7fffffff9f40, context=...) at ../../Source/JavaScriptCore/parser/Parser.cpp:3376
#3  0x00007ffff680580a in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseExpression&lt;JSC::SyntaxChecker&gt; (this=0x7fffffff9f40, context=...) at ../../Source/JavaScriptCore/parser/Parser.cpp:3338
#4  0x00007ffff67ed34d in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseExpressionOrLabelStatement&lt;JSC::SyntaxChecker&gt; (this=0x7fffffff9f40, context=..., allowFunctionDeclarationAsStatement=true)
    at ../../Source/JavaScriptCore/parser/Parser.cpp:2764
#5  0x00007ffff67d8ac7 in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseStatementListItem&lt;JSC::SyntaxChecker&gt; (this=0x7fffffff9f40, context=..., directive=&#64;0x7fffffff8f48: 0x0, 
    directiveLiteralLength=0x7fffffff8f38) at ../../Source/JavaScriptCore/parser/Parser.cpp:596
#6  0x00007ffff67d63a1 in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseSourceElements&lt;JSC::SyntaxChecker&gt; (this=0x7fffffff9f40, context=..., mode=JSC::CheckForStrictMode)
    at ../../Source/JavaScriptCore/parser/Parser.cpp:325
#7  0x00007ffff683a07b in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseFunctionBody&lt;JSC::ASTBuilder&gt; (this=0x7fffffff9f40, context=..., syntaxChecker=..., startLocation=..., startColumn=16, 
    functionKeywordStart=6, functionNameStart=15, parametersStart=16, constructorKind=JSC::ConstructorKind::None, superBinding=JSC::SuperBinding::NotNeeded, bodyType=JSC::StandardFunctionBodyBlock, 
    parameterCount=0, parseMode=JSC::SourceParseMode::AsyncFunctionMode) at ../../Source/JavaScriptCore/parser/Parser.cpp:1922
#8  0x00007ffff67ff353 in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::&lt;lambda()&gt;::operator()(void) const (__closure=0x7fffffff9270) at ../../Source/JavaScriptCore/parser/Parser.cpp:2300
#9  0x00007ffff6800726 in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseFunctionInfo&lt;JSC::ASTBuilder&gt; (this=0x7fffffff9f40, context=..., requirements=JSC::FunctionNameRequirements::Named, 
    mode=JSC::SourceParseMode::AsyncFunctionMode, nameIsInContainingScope=true, constructorKind=JSC::ConstructorKind::None, expectedSuperBinding=JSC::SuperBinding::NotNeeded, functionKeywordStart=6, 
    functionInfo=..., functionDefinitionType=JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::FunctionDefinitionType::Declaration) at ../../Source/JavaScriptCore/parser/Parser.cpp:2319
#10 0x00007ffff67eb2c7 in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseAsyncFunctionDeclaration&lt;JSC::ASTBuilder&gt; (this=0x7fffffff9f40, context=..., 
    exportType=JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::ExportType::NotExported, declarationDefaultContext=JSC::DeclarationDefaultContext::Standard) at ../../Source/JavaScriptCore/parser/Parser.cpp:2486
#11 0x00007ffff67d8e8d in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseStatementListItem&lt;JSC::ASTBuilder&gt; (this=0x7fffffff9f40, context=..., directive=&#64;0x7fffffff95b8: 0x0, 
    directiveLiteralLength=0x7fffffff95b0) at ../../Source/JavaScriptCore/parser/Parser.cpp:582
#12 0x00007ffff67c9b7e in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseSourceElements&lt;JSC::ASTBuilder&gt; (this=0x7fffffff9f40, context=..., mode=JSC::CheckForStrictMode)
    at ../../Source/JavaScriptCore/parser/Parser.cpp:325
#13 0x00007ffff67b984f in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parseInner (this=0x7fffffff9f40, calleeName=..., parseMode=JSC::SourceParseMode::ProgramMode)
    at ../../Source/JavaScriptCore/parser/Parser.cpp:211
#14 0x00007ffff5d42027 in JSC::Parser&lt;JSC::Lexer&lt;unsigned char&gt; &gt;::parse&lt;JSC::ProgramNode&gt; (this=0x7fffffff9f40, error=..., calleeName=..., parseMode=JSC::SourceParseMode::ProgramMode)
    at ../../Source/JavaScriptCore/parser/Parser.h:1816
....
---</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>