[commit: ghc] master: Fix #11405. (3c6635e)

git at git.haskell.org git at git.haskell.org
Fri Jan 15 20:44:12 UTC 2016


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

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

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

commit 3c6635ef4561ab53e51d7187c966b628a972b261
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Thu Jan 14 17:48:42 2016 -0500

    Fix #11405.
    
    This adds a new variant of AbsBinds that is used solely for bindings
    with a type signature. This allows for a simpler desugaring that
    does not produce the bogus output that tripped up Core Lint in
    ticket #11405. Should make other desugarings simpler, too.


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

3c6635ef4561ab53e51d7187c966b628a972b261
 compiler/deSugar/Coverage.hs                   | 23 ++++++++++++++
 compiler/deSugar/DsBinds.hs                    | 42 ++++++++++++++++++++++++--
 compiler/deSugar/DsExpr.hs                     | 11 +++++++
 compiler/deSugar/DsMeta.hs                     |  1 +
 compiler/hsSyn/HsBinds.hs                      | 29 +++++++++++++++++-
 compiler/hsSyn/HsUtils.hs                      |  1 +
 compiler/main/DynFlags.hs                      |  4 +--
 compiler/typecheck/TcBinds.hs                  | 25 +++++++++------
 compiler/typecheck/TcHsSyn.hs                  | 20 ++++++++++++
 testsuite/tests/dependent/should_compile/all.T |  2 +-
 testsuite/tests/ghc-api/T6145.hs               |  2 ++
 utils/ghctags/Main.hs                          |  3 +-
 12 files changed, 146 insertions(+), 17 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 3c6635ef4561ab53e51d7187c966b628a972b261


More information about the ghc-commits mailing list