packages feed

ghc-exactprint 1.4.0 → 1.4.0.1

raw patch · 3 files changed

+6/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog view
@@ -1,3 +1,5 @@+2022-01-03 v1.4.0.1+	* Add haddock docs to makeDeltaAst 2022-01-03 v1.4 	* Fix handling of AnnContext (@pepeiborra) 	* Fix crashy bogus instances (@pepeiborra)
ghc-exactprint.cabal view
@@ -1,5 +1,5 @@ name:                ghc-exactprint-version:             1.4.0+version:             1.4.0.1 synopsis:            ExactPrint for GHC description:         Using the API Annotations available from GHC 9.2.1, this                      library provides a means to round trip any code that can
src/Language/Haskell/GHC/ExactPrint/ExactPrint.hs view
@@ -77,6 +77,9 @@ exactPrintWithOptions r ast =     runEP r (markAnnotated ast) +-- | Transform concrete annotations into relative annotations which+-- are more useful when transforming an AST. This corresponds to the+-- earlier 'relativiseApiAnns'. makeDeltaAst :: ExactPrint ast => ast -> ast makeDeltaAst ast = fst $ runIdentity (runEP deltaOptions (markAnnotated ast))