mirror of
https://github.com/github/semantic.git
synced 2024-12-25 16:02:43 +03:00
Correct bogus equality tests.
This commit is contained in:
parent
1a44c5ee7a
commit
4a16b06e92
@ -66,7 +66,7 @@ public func == <A: Equatable> (left: Vertex<A>, right: Vertex<A>) -> Bool {
|
||||
case (.End, .End):
|
||||
return true
|
||||
case let (.XY(a, x1, y1), .XY(b, x2, y2)):
|
||||
return a == b && x1.value == y1.value && x2.value == y2.value
|
||||
return a == b && x1.value == x2.value && y1.value == y2.value
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user