[commit: ghc] wip/rae: Fix #11811. (68f3b3c)

git at git.haskell.org git at git.haskell.org
Mon Apr 11 19:45:43 UTC 2016


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

On branch  : wip/rae
Link       : http://ghc.haskell.org/trac/ghc/changeset/68f3b3cf5edd85f26c0f7b27c93ce916db9f0570/ghc

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

commit 68f3b3cf5edd85f26c0f7b27c93ce916db9f0570
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Thu Apr 7 16:44:06 2016 +0200

    Fix #11811.
    
    Previously, I had forgotten to omit variables already in scope
    from the TypeInType CUSK check. Simple enough to fix.
    
    Test case: typecheck/should_compile/T11811


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

68f3b3cf5edd85f26c0f7b27c93ce916db9f0570
 compiler/hsSyn/HsDecls.hs                          |  2 ++
 compiler/rename/RnSource.hs                        | 37 +++++++++++-----------
 compiler/rename/RnTypes.hs                         | 29 ++++++++++-------
 testsuite/tests/typecheck/should_compile/T11811.hs |  8 +++++
 testsuite/tests/typecheck/should_compile/all.T     |  1 +
 5 files changed, 46 insertions(+), 31 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 68f3b3cf5edd85f26c0f7b27c93ce916db9f0570


More information about the ghc-commits mailing list