Commit d010f84
committed
Fix "Find all references" in the IDE with external projects
"Find all references" worked on dotty itself because all its
dotty-compiled dependencies are internal, but in other projects it
failed when trying to construct a SourceTree for trees in the dotty
library, because sym.sourceFile returned null, because the SourceFile
annotation pointed to a path that does not exist on the user filesystem.
For now, we just discard these trees, but we need to find some way to
match them with source jars.1 parent 281416b commit d010f84
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
0 commit comments