1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 18:23:44 +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 info = case info of
(BranchInfo _ _ _) -> True
(LeafInfo _ _) -> False
_ -> False
isBranchNode :: Patch DiffInfo -> Bool
isBranchNode = any isBranchInfo