Skip to content

Commit

Permalink
Revert exact match in overlaps
Browse files Browse the repository at this point in the history
As suggested by @som-snytt in
#17366 (review)
  • Loading branch information
adpi2 authored and Kordyjan committed May 12, 2023
1 parent 9c1cdc8 commit c1028a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/src/dotty/tools/dotc/util/Spans.scala
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ object Spans {
|| containsInner(this, that.end)
|| containsInner(that, this.start)
|| containsInner(that, this.end)
|| this.start == that.start && this.end == that.end // exact match in one point
)
}

Expand Down

0 comments on commit c1028a2

Please sign in to comment.