apply-refact 0.13.0.0 → 0.14.0.0
raw patch · 5 files changed
+14/−6 lines, 5 filesdep ~containersdep ~ghcdep ~ghc-exactprintPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: containers, ghc, ghc-exactprint
API changes (from Hackage documentation)
Files
- CHANGELOG +3/−0
- README.md +1/−1
- apply-refact.cabal +6/−4
- src/Refact/Compat.hs +3/−1
- src/Refact/Fixity.hs +1/−0
CHANGELOG view
@@ -1,3 +1,6 @@+v0.14.0.0+ * #144, support GHC 9.8+ v0.13.0.0 * #137, support GHC 9.6 (@9999years)
README.md view
@@ -2,7 +2,7 @@ [`refact`](https://hackage.haskell.org/package/refact) package. It is currently integrated into [HLint](https://github.com/ndmitchell/hlint) to enable the automatic application of suggestions. -apply-refact 0.13.x supports GHC 9.2 through 9.6; 0.12.x and 0.11.x support GHC 9.2 and 9.4; 0.10.x supports GHC 9.2; 0.9.x supports GHC 8.6 through 9.0.+apply-refact 0.14.x supports GHC 9.2 through 9.8; 0.13.x supports GHC 9.2 through 9.6; 0.12.x and 0.11.x support GHC 9.2 and 9.4; 0.10.x supports GHC 9.2; 0.9.x supports GHC 8.6 through 9.0. # Install
apply-refact.cabal view
@@ -1,7 +1,7 @@ cabal-version: 3.0 name: apply-refact-version: 0.13.0.0+version: 0.14.0.0 synopsis: Perform refactorings specified by the refact library. description: Perform refactorings specified by the refact library. It is primarily used with HLint's --refactor flag. license: BSD-3-Clause@@ -18,7 +18,7 @@ , tests/examples/*.hs , tests/examples/*.hs.refact , tests/examples/*.hs.expected-tested-with: GHC==9.6.1, GHC==9.4.5, GHC==9.2.7+tested-with: GHC==9.8.1, GHC==9.6.3, GHC==9.4.6, GHC==9.2.8 source-repository head@@ -35,8 +35,8 @@ build-depends: base >=4.16 && < 5 , refact >= 0.2 , ghc-boot-th- , ghc-exactprint ^>= 1.5.0 || ^>= 1.6.0 || ^>= 1.7.0- , containers >= 0.6.0.1 && < 0.7+ , ghc-exactprint ^>= 1.5.0 || ^>= 1.6.0 || ^>= 1.7.0 || ^>= 1.8.0+ , containers >= 0.6.0.1 && < 0.8 , extra >= 1.7.3 , syb >= 0.7.1 , process >= 1.6@@ -45,6 +45,8 @@ , uniplate >= 1.6.13 , unix-compat >= 0.5.2 , directory >= 1.3+ if (impl(ghc >= 9.8) && impl(ghc < 9.9))+ build-depends: ghc ^>= 9.8 if (impl(ghc >= 9.6) && impl(ghc < 9.7)) build-depends: ghc ^>= 9.6 if (impl(ghc >= 9.4) && impl(ghc < 9.5))
src/Refact/Compat.hs view
@@ -120,7 +120,9 @@ import GHC.Hs hiding (Pat, Stmt) #endif import GHC.Parser.Header (getOptions)-#if MIN_VERSION_ghc(9,4,0)+#if MIN_VERSION_ghc(9,8,0)+import GHC.Types.Error (defaultDiagnosticOpts, getMessages)+#elif MIN_VERSION_ghc(9,4,0) import GHC.Types.Error (getMessages) #endif import GHC.Types.Fixity ( Fixity(..) )
src/Refact/Fixity.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ViewPatterns #-} module Refact.Fixity (applyFixities) where