[commit: ghc] ghc-8.0: Fix #11811. (b1d92b5)

git at git.haskell.org git at git.haskell.org
Fri Apr 15 09:57:47 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/b1d92b5d6444ac7920c568086c5dc66e571c3438/ghc

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

commit b1d92b5d6444ac7920c568086c5dc66e571c3438
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
    
    (cherry picked from commit b1084fd700e6bbe9d0d787046a6aabdb193982c4)


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

b1d92b5d6444ac7920c568086c5dc66e571c3438
 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 b1d92b5d6444ac7920c568086c5dc66e571c3438


More information about the ghc-commits mailing list