-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing tokens in 0.21.7 #728
Comments
@dsherret Oh.. It seems like a great idea. I'll do it tommorow (as it's time to go bed in my country) |
@kdy1 sounds good! I pegged the swc version to 0.21.6 on my side in the meantime, so no rush. Thanks and have a good sleep! |
@kdy1 it works well. Thanks 🙂 |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Describe the bug
Tokens are missing in the output and are not captured.
Input code
Expected behavior
Five tokens.
Actual behaviour
Only two:
Version
parser 0.21.7
Additional context
Related to fix for #726. I was thinking that perhaps instead of doing a "revert" it could instead only capture a token if the lo position is greater than the previous token's lo position?
The text was updated successfully, but these errors were encountered: