[commit: ghc] master: Move CallStack back to base (7442434)

git at git.haskell.org git at git.haskell.org
Fri Oct 2 14:32:45 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/74424346415f4e3a4d888236b3eb993f8aef4c6b/ghc

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

commit 74424346415f4e3a4d888236b3eb993f8aef4c6b
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Fri Oct 2 15:50:34 2015 +0200

    Move CallStack back to base
    
    CallStack requires tuples, instances of which are defined in GHC.Tuple.
    Unfortunately the change made in D757 to the `Typeable` deriving
    mechanism means that `GHC.Tuple` must import `GHC.Types` for types
    necessary to generate type representations.  This results in a cycle.
    
    Test Plan: Validate
    
    Reviewers: gridaphobe, austin, hvr
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1298


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

74424346415f4e3a4d888236b3eb993f8aef4c6b
 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    | 76 ++++++++++++++++++++++++++++++++++++
 libraries/base/base.cabal            |  1 +
 libraries/ghc-prim/GHC/Types.hs      | 51 +-----------------------
 8 files changed, 91 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 74424346415f4e3a4d888236b3eb993f8aef4c6b


More information about the ghc-commits mailing list