Commit b74fa73
committed
Fix "find all references" when using the IDE in the Dotty build
Running "find all references" in Dotty itself used to fail because
constructing the map of project to their dependency failed, because this
map is based on the `projectDependencies` key written in
`.dotty-ide.json` which might contain projects which are not loaded in
the IDE because they were excluded with `excludeFromIDE`.
This commit fixes this by just ignoring dependencies which do not
correspond to projects loaded in the IDE, this is the most resilient
way to fix this.1 parent 1c3ba7b commit b74fa73
File tree
1 file changed
+1
-1
lines changed- language-server/src/dotty/tools/languageserver
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
0 commit comments