ghc-exactprint 0.6.3 → 0.6.3.1
raw patch · 6 files changed
+9/−4 lines, 6 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog +2/−0
- ghc-exactprint.cabal +1/−1
- src-ghc810/Language/Haskell/GHC/ExactPrint/Annotater.hs +1/−1
- src-ghc86/Language/Haskell/GHC/ExactPrint/Annotater.hs +1/−1
- src-ghc88/Language/Haskell/GHC/ExactPrint/Annotater.hs +1/−1
- tests/examples/ghc86/ConDeclEmptyCtx.hs +3/−0
ChangeLog view
@@ -1,3 +1,5 @@+2020-06-13 v0.6.3.1+ * Always print "=>" in ConDecl (for GHC >= 8.6) by @zliu41 2020-03-26 v0.6.3 * Support GHC 8.8.1, 8.8.2, 8.8.3, 8.10.1 2019-08-28 v0.6.2
ghc-exactprint.cabal view
@@ -1,5 +1,5 @@ name: ghc-exactprint-version: 0.6.3+version: 0.6.3.1 synopsis: ExactPrint for GHC description: Using the API Annotations available from GHC 7.10.2, this library provides a means to round trip any code that can
src-ghc810/Language/Haskell/GHC/ExactPrint/Annotater.hs view
@@ -2793,7 +2793,7 @@ case mctx of Just ctx -> do setContext (Set.fromList [NoDarrow]) $ markLocated ctx- unless (null $ GHC.unLoc ctx) $ mark GHC.AnnDarrow+ mark GHC.AnnDarrow Nothing -> return () case dets of
src-ghc86/Language/Haskell/GHC/ExactPrint/Annotater.hs view
@@ -2649,7 +2649,7 @@ case mctx of Just ctx -> do setContext (Set.fromList [NoDarrow]) $ markLocated ctx- unless (null $ GHC.unLoc ctx) $ mark GHC.AnnDarrow+ mark GHC.AnnDarrow Nothing -> return () case dets of
src-ghc88/Language/Haskell/GHC/ExactPrint/Annotater.hs view
@@ -2788,7 +2788,7 @@ case mctx of Just ctx -> do setContext (Set.fromList [NoDarrow]) $ markLocated ctx- unless (null $ GHC.unLoc ctx) $ mark GHC.AnnDarrow+ mark GHC.AnnDarrow Nothing -> return () case dets of
+ tests/examples/ghc86/ConDeclEmptyCtx.hs view
@@ -0,0 +1,3 @@+module ConDeclEmptyCtx where++data Foo a = () => Foo a