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:
parent
5e0fbd8d8c
commit
39ae63d426
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user