[commit: ghc] ghc-8.0: Re-export ghc-boot:GHC.Serialized as Serialized (f7ca52a)

git at git.haskell.org git at git.haskell.org
Tue Jan 19 17:03:58 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/f7ca52a717d39ef49c09e3d537f388c9056d1f0d/ghc

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

commit f7ca52a717d39ef49c09e3d537f388c9056d1f0d
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.
    
    (cherry picked from commit 713aa90d3c4fde18d58c321520611892ed426d38)


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

f7ca52a717d39ef49c09e3d537f388c9056d1f0d
 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