safecopy 0.10.4 → 0.10.4.1
raw patch · 2 files changed
+2/−2 lines, 2 files
Files
- safecopy.cabal +1/−1
- src/Data/SafeCopy/SafeCopy.hs +1/−1
safecopy.cabal view
@@ -3,7 +3,7 @@ -- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr. -- The name of the package. Name: safecopy-Version: 0.10.4+Version: 0.10.4.1 Synopsis: Binary serialization with version control. Description: An extension to Data.Serialize with built-in version control. Homepage: https://github.com/acid-state/safecopy
src/Data/SafeCopy/SafeCopy.hs view
@@ -563,7 +563,7 @@ | isObviouslyConsistent (kindFromProxy proxy) = Consistent | versions /= nub versions- = NotConsistent $ "Duplicate version tags for " <> show (typeRep (Proxy @a)) <> ": " ++ show versions+ = NotConsistent $ "Duplicate version tags for " ++ show (typeRep (Proxy @a)) ++ ": " ++ show versions | not (validChain proxy) = NotConsistent "Primitive types cannot be extended as they have no version tag." | otherwise