Skip to content

Commit

Permalink
drop comment
Browse files Browse the repository at this point in the history
  • Loading branch information
acl-cqc committed Dec 3, 2024
1 parent 1c854f2 commit eb2795d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions brat/Brat/Checker/Helpers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ pullPorts toPort showFn to_pull types = do -- in Checking
case partition ((== p) . toPort . fst) available of
([], _) -> lift $ err $ BadPortPull $ "Port not found: " ++ p ++ " in " ++ showFn available
([found], remaining) -> put remaining >> pure found
-- this is not quite a refactor: we used to show only the suffix
-- of 'available' beginning with the first match
(_, _) -> lift $ err $ AmbiguousPortPull p (showFn available)

ensureEmpty :: Show ty => String -> [(NamedPort e, ty)] -> Checking ()
Expand Down

0 comments on commit eb2795d

Please sign in to comment.