fix: multi-token mapping aware find references

This commit is contained in:
Jonas Schievink 2021-09-01 18:17:32 +02:00
parent 81ab52c6ca
commit bdba35cc93
7 changed files with 155 additions and 86 deletions

View file

@ -405,7 +405,7 @@ impl Analysis {
&self,
position: FilePosition,
search_scope: Option<SearchScope>,
) -> Cancellable<Option<ReferenceSearchResult>> {
) -> Cancellable<Option<Vec<ReferenceSearchResult>>> {
self.with_db(|db| references::find_all_refs(&Semantics::new(db), position, search_scope))
}