1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

Require Recur to be Hashable.

This commit is contained in:
Rob Rix 2015-09-30 12:40:49 -04:00
parent de3ef64f48
commit 5529a502e3

View File

@ -170,7 +170,7 @@ public enum Syntax<Recur, A>: CustomDebugStringConvertible, CustomDocConvertible
}
}
extension Syntax where Recur: AlgebraicHashable {
extension Syntax where Recur: Hashable {
public var hash: Hash {
switch self {
case .Empty: