Javascript lexer misclassifies `async`

Issue #1446 new
David Brownman
created an issue

Hi there!

When using the JS lexer, the "await" keyword is listed as "Token.Name.Other" rather than "Token.Keyword.Reserved". This extends to other related tokens, such as "async"

My test input was:

const j = async () => await Promise.resolve(3)

Comments (0)

  1. Log in to comment