Skip to content

Commit

Permalink
Correctly parse yield import(..) expressions (#3006)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 authored and Razican committed Jun 26, 2023
1 parent 17e1915 commit 6b5cd3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boa_parser/src/parser/expression/assignment/yield.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ where
| Keyword::Function
| Keyword::Class
| Keyword::Async
| Keyword::Super,
| Keyword::Super
| Keyword::Import,
_,
))
| TokenKind::BooleanLiteral(_)
Expand Down

0 comments on commit 6b5cd3e

Please sign in to comment.