1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00

Fix a non-exhaustive pattern.

This commit is contained in:
Rob Rix 2016-08-05 10:16:18 -04:00
parent a06dd1dc1e
commit b29988a9a5

View File

@ -101,7 +101,7 @@ isIndexedOrFixed' syntax = case syntax of
isBranchInfo :: DiffInfo -> Bool isBranchInfo :: DiffInfo -> Bool
isBranchInfo info = case info of isBranchInfo info = case info of
(BranchInfo _ _ _) -> True (BranchInfo _ _ _) -> True
(LeafInfo _ _) -> False _ -> False
isBranchNode :: Patch DiffInfo -> Bool isBranchNode :: Patch DiffInfo -> Bool
isBranchNode = any isBranchInfo isBranchNode = any isBranchInfo