[commit: ghc] master: Re-export ghc-boot:GHC.Serialized as Serialized (713aa90)

git at git.haskell.org git at git.haskell.org
Tue Jan 19 16:22:05 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/713aa90d3c4fde18d58c321520611892ed426d38/ghc

>---------------------------------------------------------------

commit 713aa90d3c4fde18d58c321520611892ed426d38
Author: Simon Marlow <smarlow at fb.com>
Date:   Tue Jan 19 08:20:06 2016 -0800

    Re-export ghc-boot:GHC.Serialized as Serialized
    
    For backwards-compat with GHC 7.10.


>---------------------------------------------------------------

713aa90d3c4fde18d58c321520611892ed426d38
 compiler/ghc.cabal.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index 9557d34..ca250a8 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -578,6 +578,13 @@ Library
             Dwarf.Types
             Dwarf.Constants
 
+    if !flag(stage1)
+        -- ghc:Serialized moved to ghc-boot:GHC.Serialized.  So for
+        -- compatibility with GHC 7.10 and earlier, we reexport it
+        -- under the old name.
+        reexported-modules:
+            ghc-boot:GHC.Serialized as Serialized
+
     if flag(ghci)
         Exposed-Modules:
             Convert



More information about the ghc-commits mailing list