packages feed

ghc-tcplugin-api 0.4.0.0 → 0.4.1.0

raw patch · 2 files changed

+14/−8 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

changelog.md view
@@ -1,4 +1,10 @@ 
+# Version 0.4.1.0 (2021-08-24)
+
+- Re-export a few GHC modules, such as GHC.Core.Make and GHC.Plugins.
+  These re-exports might be changed to be more selective in the future
+  to aid cross-version compatibility.
+
 # Version 0.4.0.0 (2021-08-24)
 
 - Adapt to GHC 9.4 changes in the `TcPluginSolveResult` datatype:
ghc-tcplugin-api.cabal view
@@ -1,6 +1,6 @@ cabal-version:  3.0
 name:           ghc-tcplugin-api
-version:        0.4.0.0
+version:        0.4.1.0
 synopsis:       An API for type-checker plugins.
 license:        BSD-3-Clause
 build-type:     Simple
@@ -58,6 +58,13 @@     GHC.TcPlugin.API.Names,
     GHC.TcPlugin.API.Internal
 
+  reexported-modules:
+      GHC.Core.Make
+    , GHC.Plugins
+    , GHC.Types.Unique.DFM
+    , GHC.Types.Unique.FM
+    , GHC.Utils.Outputable
+
   if impl(ghc >= 9.3.0)
     cpp-options: -DHAS_REWRITING
   else
@@ -70,13 +77,6 @@ 
   -- Compatibility for versions of GHC prior to 9.0.
   if impl(ghc < 9.0)
-
-    reexported-modules:
-        GHC.Core.Make
-      , GHC.Plugins
-      , GHC.Types.Unique.DFM
-      , GHC.Types.Unique.FM
-      , GHC.Utils.Outputable
 
     mixins:
       ghc