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:
parent
a06dd1dc1e
commit
b29988a9a5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user