diff --git a/src/DiffSummary.hs b/src/DiffSummary.hs index 71516d609..a81cfb6d8 100644 --- a/src/DiffSummary.hs +++ b/src/DiffSummary.hs @@ -72,6 +72,7 @@ diffSummary = cata $ \case (Free (infos :< Indexed children)) -> prependSummary (category $ snd infos) <$> join children (Free (infos :< Fixed children)) -> prependSummary (category $ snd infos) <$> join children (Free (infos :< Keyed children)) -> prependSummary (category $ snd infos) <$> join (Prologue.toList children) + (Free (infos :< Syntax.FunctionCall identifier children)) -> prependSummary (category $ snd infos) <$> join (Prologue.toList (identifier : children)) (Pure (Insert term)) -> (\info -> DiffSummary (Insert info) []) <$> termToDiffInfo term (Pure (Delete term)) -> (\info -> DiffSummary (Delete info) []) <$> termToDiffInfo term (Pure (Replace t1 t2)) -> (\(info1, info2) -> DiffSummary (Replace info1 info2) []) <$> zip (termToDiffInfo t1) (termToDiffInfo t2)