fix incomplete pattern match warning
There was not really a bug here, because the 2 lists are always the same length, but the compiler does not know that.
This commit is contained in:
parent
24c576bfa7
commit
5712a7ef93
1 changed files with 1 additions and 0 deletions
|
@ -330,6 +330,7 @@ graftTree' subtree graftloc basetree repo hdl = go basetree subdirs graftdirs
|
||||||
return (newshas ++ rest)
|
return (newshas ++ rest)
|
||||||
mkTree hdl t'
|
mkTree hdl t'
|
||||||
go _ _ [] = return subtree
|
go _ _ [] = return subtree
|
||||||
|
go _ [] _ = return subtree
|
||||||
|
|
||||||
graftin t = recordSubTree hdl $ graftin' t
|
graftin t = recordSubTree hdl $ graftin' t
|
||||||
graftin' [] = RecordedSubTree graftloc subtree []
|
graftin' [] = RecordedSubTree graftloc subtree []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue