Update syntax map's interpolated version when a parse completes

This commit is contained in:
Max Brunsfeld 2022-08-24 15:09:10 -07:00
parent ced45cbb0a
commit 587175d0ea

View file

@ -173,6 +173,7 @@ impl SyntaxMap {
}
pub fn did_parse(&mut self, snapshot: SyntaxSnapshot, version: clock::Global) {
self.interpolated_version = version.clone();
self.parsed_version = version;
self.snapshot = snapshot;
}