Skip to content

Commit c1028a2

Browse files
adpi2Kordyjan
authored andcommitted
Revert exact match in overlaps
As suggested by @som-snytt in #17366 (review)
1 parent 9c1cdc8 commit c1028a2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/src/dotty/tools/dotc/util/Spans.scala

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ object Spans {
8686
|| containsInner(this, that.end)
8787
|| containsInner(that, this.start)
8888
|| containsInner(that, this.end)
89-
|| this.start == that.start && this.end == that.end // exact match in one point
9089
)
9190
}
9291

0 commit comments

Comments
 (0)