Use cached module scopes for completion

This commit is contained in:
Aleksey Kladov 2018-11-07 21:08:11 +03:00
parent 9b88ec488b
commit 397c235086
5 changed files with 71 additions and 51 deletions

View file

@ -62,6 +62,11 @@ impl LocalSyntaxPtr {
local: self,
}
}
// Seems unfortunate to expose
pub(crate) fn range(self) -> TextRange {
self.range
}
}
#[test]