hlint 1.9.24 → 1.9.25
raw patch · 3 files changed
+5/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES.txt +2/−0
- hlint.cabal +1/−1
- src/HLint.hs +2/−1
CHANGES.txt view
@@ -1,5 +1,7 @@ Changelog for HLint +1.9.25+ #192, fix stdin output and --refactor on Windows 1.9.24 #188, improve spotting redundant brackets around patterns #138, reenable redundant where hint
hlint.cabal view
@@ -1,7 +1,7 @@ cabal-version: >= 1.6 build-type: Simple name: hlint-version: 1.9.24+version: 1.9.25 license: BSD3 license-file: LICENSE category: Development
src/HLint.hs view
@@ -5,6 +5,7 @@ import Control.Applicative import Control.Monad.Extra+import Control.Exception import System.Console.CmdArgs.Verbosity import Data.List import System.Exit@@ -180,7 +181,7 @@ runRefactoring rpath fin hints opts = do let args = [fin, "-v0"] ++ words opts ++ ["--refact-file", hints] (_, _, _, phand) <- createProcess $ proc rpath args- hSetBuffering stdin LineBuffering+ try $ hSetBuffering stdin LineBuffering :: IO (Either IOException ()) hSetBuffering stdout LineBuffering -- Propagate the exit code from the spawn process waitForProcess phand