JsModule { bom_token: missing (optional), interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ JsFunctionDeclaration { async_token: ASYNC_KW@0..6 "async" [] [Whitespace(" ")], function_token: FUNCTION_KW@6..15 "function" [] [Whitespace(" ")], star_token: missing (optional), id: JsIdentifierBinding { name_token: IDENT@15..16 "f" [] [], }, type_parameters: missing (optional), parameters: JsParameters { l_paren_token: L_PAREN@16..17 "(" [] [], items: JsParameterList [], r_paren_token: R_PAREN@17..19 ")" [] [Whitespace(" ")], }, return_type_annotation: missing (optional), body: JsFunctionBody { l_curly_token: L_CURLY@19..20 "{" [] [], directives: JsDirectiveList [], statements: JsStatementList [ JsVariableStatement { declaration: JsVariableDeclaration { await_token: missing (optional), kind: LET_KW@20..26 "let" [Newline("\n"), Whitespace(" ")] [], declarators: JsVariableDeclaratorList [ JsVariableDeclarator { id: JsBogusBinding { items: [ IDENT@26..35 "await" [Newline("\n"), Whitespace(" ")] [Whitespace(" ")], ], }, variable_annotation: missing (optional), initializer: missing (optional), }, ], }, semicolon_token: missing (optional), }, JsExpressionStatement { expression: JsNumberLiteralExpression { value_token: JS_NUMBER_LITERAL@35..36 "0" [] [], }, semicolon_token: SEMICOLON@36..37 ";" [] [], }, ], r_curly_token: R_CURLY@37..39 "}" [Newline("\n")] [], }, }, ], eof_token: EOF@39..40 "" [Newline("\n")] [], } 0: JS_MODULE@0..40 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..39 0: JS_FUNCTION_DECLARATION@0..39 0: ASYNC_KW@0..6 "async" [] [Whitespace(" ")] 1: FUNCTION_KW@6..15 "function" [] [Whitespace(" ")] 2: (empty) 3: JS_IDENTIFIER_BINDING@15..16 0: IDENT@15..16 "f" [] [] 4: (empty) 5: JS_PARAMETERS@16..19 0: L_PAREN@16..17 "(" [] [] 1: JS_PARAMETER_LIST@17..17 2: R_PAREN@17..19 ")" [] [Whitespace(" ")] 6: (empty) 7: JS_FUNCTION_BODY@19..39 0: L_CURLY@19..20 "{" [] [] 1: JS_DIRECTIVE_LIST@20..20 2: JS_STATEMENT_LIST@20..37 0: JS_VARIABLE_STATEMENT@20..35 0: JS_VARIABLE_DECLARATION@20..35 0: (empty) 1: LET_KW@20..26 "let" [Newline("\n"), Whitespace(" ")] [] 2: JS_VARIABLE_DECLARATOR_LIST@26..35 0: JS_VARIABLE_DECLARATOR@26..35 0: JS_BOGUS_BINDING@26..35 0: IDENT@26..35 "await" [Newline("\n"), Whitespace(" ")] [Whitespace(" ")] 1: (empty) 2: (empty) 1: (empty) 1: JS_EXPRESSION_STATEMENT@35..37 0: JS_NUMBER_LITERAL_EXPRESSION@35..36 0: JS_NUMBER_LITERAL@35..36 "0" [] [] 1: SEMICOLON@36..37 ";" [] [] 3: R_CURLY@37..39 "}" [Newline("\n")] [] 4: EOF@39..40 "" [Newline("\n")] [] -- let_newline_in_async_function.js:3:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Illegal use of `await` as an identifier in an async context 1 │ async function f() { 2 │ let > 3 │ await 0; │ ^^^^^ 4 │ } 5 │ -- let_newline_in_async_function.js:3:9 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected a semicolon or an implicit semicolon after a statement, but found none 1 │ async function f() { 2 │ let > 3 │ await 0; │ ^ 4 │ } 5 │ i An explicit or implicit semicolon is expected here... 1 │ async function f() { 2 │ let > 3 │ await 0; │ ^ 4 │ } 5 │ i ...Which is required to end this statement 1 │ async function f() { > 2 │ let │ ^^^ > 3 │ await 0; │ ^^^^^^ 4 │ } 5 │ -- async function f() { let await 0; }