Enable module resolution caching to work, even if the file containing the module has changed #5241
Labels
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
part: language server
Support for LSP in Dafny (server part; client is in ide-vscode repo)
Currently the Dafny resolution caching will use, as a key for determining whether a module has changed, instead of computing a unique hash for a module, use the unique hash of the file content that the module is in.
This means that if a module is in a file that has changed, there will be no resolution caching for that module.
This is not intuitive, and users that are working with very large files and are suffering from long resolution times, will not think of splitting their project up into smaller files.
The text was updated successfully, but these errors were encountered: