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

Skip typechecking when the decls have not changed #159

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

aabounegm
Copy link
Member

This will run the typechecker once on the changed file to detect if the returned list of declarations is the same as the cached one. Typechecking for other modules will be skipped if the returned declarations have not changed.

A current limitation is that this will repeat the typechecking for the changed file if it is detected that the declarations are different. It should be straightforward to fix this.

@fizruk fizruk merged commit 01762ed into develop Dec 15, 2023
6 checks passed
@fizruk fizruk deleted the detect-decl-changes branch December 15, 2023 22:36
@fizruk fizruk mentioned this pull request Dec 16, 2023
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

Successfully merging this pull request may close these issues.

2 participants