mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-11 02:01:36 +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
|
export
|
||||||
Hashable Name where
|
Hashable Name where
|
||||||
hashWithSalt h (MN s _) = hashWithSalt h s
|
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 (Resolved i) = hashWithSalt h i
|
||||||
hashWithSalt h n = hashWithSalt h (show n)
|
hashWithSalt h n = hashWithSalt h (show n)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user