Skip to content

Commit

Permalink
fixes #240
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Mar 23, 2023
1 parent c86b7ae commit 000a051
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static Map<ISourceLocation, List<Diagnostic>> translateMessages(IList mes

for (IValue elem : messages) {
IConstructor message = (IConstructor) elem;
ISourceLocation file = getMessageLocation(message);
ISourceLocation file = getMessageLocation(message).top();
Diagnostic d = translateDiagnostic(message, docService.getColumnMap(file));

List<Diagnostic> lst = results.get(file);
Expand Down

0 comments on commit 000a051

Please sign in to comment.