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