Skip to content

Commit

Permalink
cryptol-saw-core: documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
samcowger committed Jan 4, 2024
1 parent ab9d9f5 commit 3a2143e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cryptol-saw-core/src/Verifier/SAW/CryptolEnv.hs
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,8 @@ moduleCmdResult (res, ws) = do
Right (a, me) -> return (a, me)
Left err -> fail $ "Cryptol error:\n" ++ show (pp err) -- X.throwIO (ModuleSystemError err)
where
-- If all warnings are about type defaults, pretend there are no warnings at
-- all to avoid displaying an empty warning container.
suppressDefaulting :: MM.ModuleWarning -> [MM.ModuleWarning]
suppressDefaulting w =
case w of
Expand Down

0 comments on commit 3a2143e

Please sign in to comment.