Skip to content

Commit

Permalink
Update printWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
facundominguez committed Nov 2, 2023
1 parent 69361af commit 71f9b79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions liquidhaskell-boot/src/Language/Haskell/Liquid/Types/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1995,8 +1995,8 @@ allErrors = dErrors
-- | Printing Warnings ---------------------------------------------------------
--------------------------------------------------------------------------------

printWarning :: Logger -> DynFlags -> Warning -> IO ()
printWarning logger dyn (Warning srcSpan doc) = GHC.putWarnMsg logger dyn srcSpan doc
printWarning :: Logger -> Warning -> IO ()
printWarning logger (Warning srcSpan doc) = GHC.putWarnMsg logger srcSpan doc

--------------------------------------------------------------------------------
-- | Error Data Type -----------------------------------------------------------
Expand Down

0 comments on commit 71f9b79

Please sign in to comment.