1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00

It doesn’t matter if annotations are equatable.

This commit is contained in:
Rob Rix 2015-10-22 15:52:08 -04:00
parent 5e0fbd8d8c
commit 39ae63d426

View File

@ -189,7 +189,7 @@ extension Free {
}
}
public func == <Leaf: Equatable, Value: Equatable, Annotation: Equatable> (left: Free<Leaf, Annotation, Value>, right: Free<Leaf, Annotation, Value>) -> Bool {
public func == <Leaf: Equatable, Value: Equatable, Annotation> (left: Free<Leaf, Annotation, Value>, right: Free<Leaf, Annotation, Value>) -> Bool {
return Free.equals(pure: ==, leaf: ==)(left, right)
}