[commit: ghc] wip/T9858-typeable-ben2: Move CallStack back to base (602b864)

git at git.haskell.org git at git.haskell.org
Wed Sep 23 20:40:43 UTC 2015


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

On branch  : wip/T9858-typeable-ben2
Link       : http://ghc.haskell.org/trac/ghc/changeset/602b864849e372f0f48f274cdb880aec776d5523/ghc

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

commit 602b864849e372f0f48f274cdb880aec776d5523
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Sep 20 08:27:34 2015 +0200

    Move CallStack back to base
    
    CallStack requires tuples, instances of which are defined in GHC.Tuple.
    Unfortunately the D757 change to Typeable deriving means that
    GHC.Tuple must import GHC.Types for the type representation types,
    resulting in a cycle.


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

602b864849e372f0f48f274cdb880aec776d5523
 compiler/prelude/PrelNames.hs        |  9 +++--
 libraries/base/GHC/Err.hs            |  3 +-
 libraries/base/GHC/Exception.hs      |  1 +
 libraries/base/GHC/Exception.hs-boot |  3 +-
 libraries/base/GHC/Stack.hsc         |  3 ++
 libraries/base/GHC/Stack/Types.hs    | 72 ++++++++++++++++++++++++++++++++++++
 libraries/base/base.cabal            |  1 +
 libraries/ghc-prim/GHC/Types.hs      | 52 +-------------------------
 8 files changed, 88 insertions(+), 56 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 602b864849e372f0f48f274cdb880aec776d5523


More information about the ghc-commits mailing list