hlint 2.1.20 → 2.1.21
raw patch · 3 files changed
+8/−3 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/HSE/All.hs +5/−2
CHANGES.txt view
@@ -1,5 +1,7 @@ Changelog for HLint (* = breaking change) +2.1.21, released 2019-05-19+ #637, temporary workaround for GHC parser segfaults 2.1.20, released 2019-05-15 * Fix a dumb break in the API on parseModuleEx 2.1.19, released 2019-05-14
hlint.cabal view
@@ -1,7 +1,7 @@ cabal-version: >= 1.18 build-type: Simple name: hlint-version: 2.1.20+version: 2.1.21 license: BSD3 license-file: LICENSE category: Development
src/HSE/All.hs view
@@ -225,10 +225,13 @@ (ParseFailed sl msg, pfailed) -> failOpParseModuleEx ppstr flags file str sl msg $ fromPFailed pfailed where- fromPFailed (PFailed x) = Just x+ -- TEMPORARY HACK TO AVOID EVALUATING parseFileGhcLib+ -- see https://github.com/ndmitchell/hlint/issues/637+ -- fromPFailed (PFailed x) = Just x fromPFailed _ = Nothing - fromPOk (POk _ x) = Just x+ -- TEMPORARY HACK+ -- fromPOk (POk _ x) = Just x fromPOk _ = Nothing fixity = fromMaybe [] $ fixities $ hseFlags flags