Skip to content

Commit

Permalink
Lints
Browse files Browse the repository at this point in the history
  • Loading branch information
croyzor committed Nov 25, 2024
1 parent d69bb99 commit 42e299d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brat/Brat/Checker.hs
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ checkBody fnName body cty = do
NoLhs tm -> pure (tm, (fcOf tm, fcOf tm))
Clauses (c :| cs) -> do
fc <- req AskFC
pure $ (WC fc (Lambda c cs), (bimap fcOf fcOf c))
pure (WC fc (Lambda c cs), bimap fcOf fcOf c)
Undefined -> err (InternalError "Checking undefined clause")
((src, _), _) <- makeBox (fnName ++ ".box") cty $ \conns@(_, unders) -> do
(((), ()), leftovers) <- check tm conns
Expand Down

0 comments on commit 42e299d

Please sign in to comment.