Skip to content

Commit 782b6d6

Browse files
committed
Don't just silently fail to parse the entire Hoogle DB
1 parent 6291745 commit 782b6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ computeDiffDownloadHoogleDB ComputeParams { .. } = do
238238
-- Parse
239239
putS "Parsing Hoogle DBs..."
240240
[parsedDBA, parsedDBB] <- forM [dbA, dbB] $ \db ->
241-
either throwError return $ parseOnly hoogleDBParser db
241+
either throwError return $ parseOnly (hoogleDBParser <* endOfInput) db
242242
-- Compare
243243
putS "Comparing Hoogle DBs..."
244244
return $ diffHoogleDB parsedDBA parsedDBB

0 commit comments

Comments
 (0)