Browse Source

Correctly parse `yield import(..)` expressions (#3006)

pull/2996/head
José Julián Espina 1 year ago committed by GitHub
parent
commit
9a903fb5f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      boa_parser/src/parser/expression/assignment/yield.rs

3
boa_parser/src/parser/expression/assignment/yield.rs

@ -99,7 +99,8 @@ where
| Keyword::Function | Keyword::Function
| Keyword::Class | Keyword::Class
| Keyword::Async | Keyword::Async
| Keyword::Super, | Keyword::Super
| Keyword::Import,
_, _,
)) ))
| TokenKind::BooleanLiteral(_) | TokenKind::BooleanLiteral(_)

Loading…
Cancel
Save