Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pack several compiler errors into one ParseError #203

Merged
merged 3 commits into from
Jan 28, 2025
Merged

Conversation

arodionov
Copy link
Contributor

No description provided.

Andrii Rodionov added 3 commits January 28, 2025 13:42
If a source file has syntax errors, the ParseError is generated, and the file is skipped from parsing.
Syntactically check is based on TS compiler function `ts.getPreEmitDiagnostics`.
There are a list of error codes, that can be ignored or added.
@arodionov arodionov self-assigned this Jan 28, 2025
@arodionov arodionov merged commit de3ab04 into main Jan 28, 2025
1 check passed
@arodionov arodionov deleted the fix-parse-error branch January 28, 2025 12:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant