Skip to content
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

[BUG]: Fails to parse files that contain a Named Touple #38

Open
KilianKilmister opened this issue Sep 24, 2020 · 0 comments
Open

[BUG]: Fails to parse files that contain a Named Touple #38

KilianKilmister opened this issue Sep 24, 2020 · 0 comments

Comments

@KilianKilmister
Copy link

I was wondering Why the extention stopped offering code actions in files as they grew. Türnes out, newer typescript features can cause booster to report a syntax error and stop working.

I don't know if there are other TSv4+ features affected, but the one i discovered was the Named Touple:

type SomeType = [first: number, second: number]

Link to official Playground sample

Heres the log output of me removing and re-adding a named touple:

2020-09-24T22:47:23.939Z: Running in production mode.
2020-09-24T22:47:24.719Z: 35 code actions loaded.
2020-09-24T22:47:38.030Z: Syntax error in file file:///<path-to-project>/src/stage.ts (37:47).
2020-09-24T22:49:19.710Z: File now valid: file:///<path-to-project>/src/stage.ts.
2020-09-24T22:49:40.511Z: Syntax error in file file:///<path-to-project>/src/stage.ts (37:47).
2020-09-24T22:51:23.376Z: Syntax error in file file:///<path-to-project>/src/stage.ts (37:43).
2020-09-24T22:51:25.010Z: File now valid: file:///<path-to-project>/src/stage.ts.
2020-09-24T22:51:35.167Z: Syntax error in file file:///<path-to-project>/src/stage.ts (28:18).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant