[commit: ghc] master: Kill the magic of Any (24d7615)

git at git.haskell.org git at git.haskell.org
Wed Mar 30 20:46:59 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/24d761531cfc18152598becc0aeb90376fd19198/ghc

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

commit 24d761531cfc18152598becc0aeb90376fd19198
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Wed Mar 30 21:58:24 2016 +0200

    Kill the magic of Any
    
    This turns `Any` into a standard wired-in type family defined in
    `GHC.Types`, instead its current incarnation as a magical creature
    provided by the `GHC.Prim`.  Also kill `AnyK`.
    
    See #10886.
    
    Test Plan: Validate
    
    Reviewers: simonpj, goldfire, austin, hvr
    
    Reviewed By: simonpj
    
    Subscribers: goldfire, thomie
    
    Differential Revision: https://phabricator.haskell.org/D2049
    
    GHC Trac Issues: #10886


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

24d761531cfc18152598becc0aeb90376fd19198
 compiler/prelude/PrelNames.hs                   | 18 ++---
 compiler/prelude/TysPrim.hs                     | 81 -----------------------
 compiler/prelude/TysWiredIn.hs                  | 87 +++++++++++++++++++++++++
 compiler/prelude/primops.txt.pp                 | 46 -------------
 compiler/specialise/Rules.hs                    |  2 +-
 libraries/base/GHC/Exts.hs                      |  3 +
 libraries/ghc-prim/GHC/Types.hs                 | 21 +++++-
 testsuite/tests/simplCore/should_run/T5441a.hs  |  2 +-
 testsuite/tests/stranal/should_compile/T9208.hs |  2 +-
 9 files changed, 123 insertions(+), 139 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 24d761531cfc18152598becc0aeb90376fd19198


More information about the ghc-commits mailing list