[commit: ghc] ghc-8.0: Unwire Typeable representation types (6013321)
git at git.haskell.org
git at git.haskell.org
Thu Feb 18 22:11:33 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/6013321dd013aeb34f0f1a7f7c1c4cd42683ea6e/ghc
>---------------------------------------------------------------
commit 6013321dd013aeb34f0f1a7f7c1c4cd42683ea6e
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Thu Feb 18 22:05:02 2016 +0100
Unwire Typeable representation types
In order to make this work I needed to shuffle around typechecking a bit
such that `TyCon` and friends are available during compilation of
GHC.Types. I also did a bit of refactoring of `TcTypeable`.
Test Plan: Validate
Reviewers: simonpj, austin
Subscribers: simonpj, thomie
Differential Revision: https://phabricator.haskell.org/D1906
GHC Trac Issues: #11120
(cherry picked from commit 206a8bf4665af216784357f6741ccf5e68dd2495)
>---------------------------------------------------------------
6013321dd013aeb34f0f1a7f7c1c4cd42683ea6e
compiler/prelude/PrelNames.hs | 22 +++
compiler/prelude/TysWiredIn.hs | 62 +------
compiler/typecheck/TcRnDriver.hs | 20 +--
compiler/typecheck/TcTyDecls.hs | 6 +-
compiler/typecheck/TcTypeable.hs | 193 +++++++++++++--------
libraries/ghc-prim/GHC/Types.hs | 2 +-
.../tests/deSugar/should_compile/T2431.stderr | 10 +-
.../tests/ghci.debugger/scripts/print019.stderr | 2 +-
.../tests/roles/should_compile/Roles13.stderr | 60 +++----
.../tests/simplCore/should_compile/T7360.stderr | 104 +++++------
.../tests/simplCore/should_compile/T8274.stdout | 4 +-
.../tests/stranal/should_compile/T10694.stdout | 4 +-
12 files changed, 249 insertions(+), 240 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 6013321dd013aeb34f0f1a7f7c1c4cd42683ea6e
More information about the ghc-commits
mailing list