mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-11 03:13:51 +00:00
Fix: High-level document symbol cache was not invalidated when the LS-specific low-level version changed
This commit is contained in:
1 parent
704e8c3d19
commit
a5fd4d685f
2 files changed
+4
-4
No files matched your search
@@ -52,6 +52,8 @@ Status of the `main` branch. Changes prior to the next official version change w
|
||||
Serena's own tools to close the gap (#1852)
|
||||
|
||||
* Language Servers:
|
||||
- Fix: High-level document symbol cache was not invalidated when the LS-specific low-level result
|
||||
version changed
|
||||
- Fix: TypeScript and VTS now disable automatic type acquisition as intended, while VTS
|
||||
preserves explicit user settings across initialization and configuration requests (#1989)
|
||||
VTS initialization options now override defaults per top-level key rather than replacing the
|
||||
|
||||
+2
-4
@@ -2984,10 +2984,8 @@ class SolidLanguageServer(ABC):
|
||||
high_level_fingerprint = self._document_symbols_cache_fingerprint()
|
||||
if high_level_fingerprint is not None:
|
||||
version.append(high_level_fingerprint)
|
||||
raw_fingerprint = self._raw_document_symbols_cache_fingerprint()
|
||||
if raw_fingerprint is not None:
|
||||
version.append(raw_fingerprint)
|
||||
return version[0] if len(version) == 1 else tuple(version)
|
||||
version.append(self._raw_document_symbols_cache_version())
|
||||
return tuple(version)
|
||||
|
||||
def _save_raw_document_symbols_cache(self) -> None:
|
||||
cache_file = self.cache_dir / self.RAW_DOCUMENT_SYMBOL_CACHE_FILENAME
|
||||
|
||||
Reference in new issue
Block a user