-
Notifications
You must be signed in to change notification settings - Fork 89
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
Reusing cache for LSP #408
Comments
The cache module is currently reused as it in the implementation for the language server where it provides access to adding source roots, parsing, and type checking. In the use case of a language server, source files are repeatedly updated, which before #405 was not possible. Hence, i added access to the terms hash map in order to invalidate the file, i.e. removing the root term for that file. Clearly, this gives way more access to that structure than necessary. There are alternatives however:
|
Originally posted by @yannham in #405 (comment)
The text was updated successfully, but these errors were encountered: