Skip to content

Commit

Permalink
wowz
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Jan 21, 2023
1 parent e656f05 commit 6fbee5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ def diagnostics_intersecting_region_async(
for sb, diagnostics in self._diagnostics_async():
intersections = [] # type: List[Diagnostic]
for diagnostic, candidate in diagnostics:
# Checking against points is inclusive unlike checking whether region intersects another
# region which is exclusive (at region end) and we want an inclusive behavior in this case.
# Checking against points is inclusive unlike checking whether region intersects another region
# which is exclusive (at region end) and we want an inclusive behavior in this case.
if region.contains(candidate.a) or region.contains(candidate.b):
covering = covering.cover(candidate)
intersections.append(diagnostic)
Expand Down

0 comments on commit 6fbee5e

Please sign in to comment.