mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-28 11:05:17 +03:00
Merge pull request #96 from ziman/fix-impl-rebuild
Exclude `DN` from `Hashable Name`
This commit is contained in:
commit
1e570f5895
@ -64,6 +64,8 @@ Hashable String where
|
||||
export
|
||||
Hashable Name where
|
||||
hashWithSalt h (MN s _) = hashWithSalt h s
|
||||
hashWithSalt h (DN _ n) = hashWithSalt h n
|
||||
hashWithSalt h (NS ns n) = hashWithSalt (hashWithSalt h ns) n
|
||||
hashWithSalt h (Resolved i) = hashWithSalt h i
|
||||
hashWithSalt h n = hashWithSalt h (show n)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user