Skip to content
Commit 4b2bf5a2 authored by Giovanni Campagna's avatar Giovanni Campagna Committed by Christian Hergert
Browse files

IdeDiagnostic: set the location from range when unset

The gnome code assistance plugin creates an IdeDiagnostic object
with no location, and then sets one or more IdeSourceRange's on it.

We can assume that the first source range corresponds to where the
problem is, and set the location based on it. Without a location,
the diagnostic will be dropped on the floor, which is not nice.

https://bugzilla.gnome.org/show_bug.cgi?id=779359
parent 24787974
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment