We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a10bb6b commit 7a4681cCopy full SHA for 7a4681c
tests/Regressions.hs
@@ -144,8 +144,13 @@ assertDefaultHash = do
144
-- appear to be set, we get the warning, yet the
145
-- larger value in upstream is still being used.
146
-- https://github.com/haskell-unordered-containers/hashable/blob/master/src/Data/Hashable/Class.hs#L221
147
+#if MIN_VERSION_hashable(1,3,1)
148
+ HAS.hash someString @=?
149
+ HAS.hashWithSalt 14695981039346656037 someString
150
+#else
151
HAS.hash someString @=?
152
HAS.hashWithSalt 0xdc36d1615b7400a4 someString
153
+#endif
154
155
------------------------------------------------------------------------
156
-- * Test list
0 commit comments