packages feed

ghc-lib-parser-ex 0.20220401 → 0.20220501

raw patch · 3 files changed

+10/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,5 +1,11 @@ # Changelog for ghc-lib-parser-ex +## 0.20220501 released+- Update to `ghc-lib-parser-0.20220501`++## 0.20220401 released+- Update to `ghc-lib-parser-0.20220401`+ ## 9.2.0.3 released - Fix ghc bounds in auto mode to use ghc-lib not ghc if build compiler ghc-9.2.1 (see [issue](https://github.com/ndmitchell/hlint/issues/1314)) 
ghc-lib-parser-ex.cabal view
@@ -1,6 +1,6 @@ cabal-version:  1.18 name:           ghc-lib-parser-ex-version:        0.20220401+version:        0.20220501 description:    Please see the README on GitHub at <https://github.com/shayne-fletcher/ghc-lib-parser-ex#readme> homepage:       https://github.com/shayne-fletcher/ghc-lib-parser-ex#readme bug-reports:    https://github.com/shayne-fletcher/ghc-lib-parser-ex/issues
src/Language/Haskell/GhclibParserEx/GHC/Driver/Session.hs view
@@ -161,12 +161,14 @@                          -> IO (Either String DynFlags) parsePragmasIntoDynFlags flags (enable, disable) file str =   catchErrors $ do-    let opts = #if defined (GHCLIB_API_HEAD)+    let (_, opts) =           getOptions (initParserOpts flags) (stringToStringBuffer str) file #else+    let opts =           getOptions flags (stringToStringBuffer str) file #endif+     -- Important : apply enables, disables *before* parsing dynamic     -- file pragmas.     let flags' =  foldl' xopt_set flags enable