@@ -1479,7 +1479,7 @@ instance FromJSON Version where
1479 {-# INLINE parseJSON #-}
1479 {-# INLINE parseJSON #-}
1480 parseJSON = withText "Version" $ go . readP_to_S parseVersion . unpack
1480 parseJSON = withText "Version" $ go . readP_to_S parseVersion . unpack
1482− go [(v,_)] = return v
1482+ go [(v,[])] = return v
1483 go (_ : xs) = go xs
1483 go (_ : xs) = go xs
1484 go _ = fail $ "could not parse Version"
1484 go _ = fail $ "could not parse Version"