[commit: ghc] master: Tidy up the error messages we get from TH in stage1 (Trac #8312) (bf3b293)

git at git.haskell.org git at git.haskell.org
Wed Nov 6 16:21:35 UTC 2013


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

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

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

commit bf3b29323d69b2c6f073885fb896dd4a5c346c02
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Nov 6 16:21:05 2013 +0000

    Tidy up the error messages we get from TH in stage1 (Trac #8312)
    
    Instead of panic-ing we now give a sensible message.
    There is quite a bit of refactoring here too, removing
    several #ifdef GHCI things


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

bf3b29323d69b2c6f073885fb896dd4a5c346c02
 compiler/ghc.cabal.in                |    2 +-
 compiler/rename/RnExpr.lhs           |    7 +-
 compiler/rename/RnPat.lhs            |   11 +--
 compiler/rename/RnSource.lhs         |    7 --
 compiler/rename/RnSplice.lhs         |   41 +++--------
 compiler/rename/RnSplice.lhs-boot    |    4 --
 compiler/rename/RnTypes.lhs          |    6 --
 compiler/typecheck/TcAnnotations.lhs |   10 +--
 compiler/typecheck/TcExpr.lhs        |   16 ++---
 compiler/typecheck/TcHsType.lhs      |   18 +----
 compiler/typecheck/TcRnMonad.lhs     |   14 ++++
 compiler/typecheck/TcSplice.lhs      |  128 ++++++++++++++++++----------------
 compiler/typecheck/TcSplice.lhs-boot |   16 +++--
 13 files changed, 114 insertions(+), 166 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 bf3b29323d69b2c6f073885fb896dd4a5c346c02


More information about the ghc-commits mailing list