Skip to content

Commit

Permalink
fix(java_indexer): set the corpus path of diagnostics (#5203)
Browse files Browse the repository at this point in the history
  • Loading branch information
schroederc committed Feb 1, 2022
1 parent 3150c86 commit cf72c6e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -226,6 +226,7 @@ public EntrySet emitDiagnostic(VName fileVName, Diagnostic d) {
if (fileVName == null) {
return dn;
} else {
builder.setCorpusPath(CorpusPath.fromVName(fileVName));
if (d.hasSpan()) {
Span s =
new Span(d.getSpan().getStart().getByteOffset(), d.getSpan().getEnd().getByteOffset());
Expand Down

0 comments on commit cf72c6e

Please sign in to comment.