[commit: ghc] master: Take account of the AvailTC invariant when importing (f964cd9)

git at git.haskell.org git at git.haskell.org
Fri Apr 18 23:28:30 UTC 2014


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

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

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

commit f964cd9c5c411f8a2383cf2b080581a5c3349661
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Apr 18 23:30:18 2014 +0100

    Take account of the AvailTC invariant when importing
    
    In the rather gnarly filterImports code, someone had forgotten
    the AvailTC invariant:  in AvailTC n [n,s1,s2], the 'n' is itself
    included in the list of names.


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

f964cd9c5c411f8a2383cf2b080581a5c3349661
 compiler/rename/RnNames.lhs                     |   80 ++++++++++++++---------
 testsuite/tests/rename/should_fail/T9006.hs     |    3 +
 testsuite/tests/rename/should_fail/T9006.stderr |    2 +
 testsuite/tests/rename/should_fail/T9006a.hs    |    3 +
 testsuite/tests/rename/should_fail/all.T        |    3 +
 5 files changed, 59 insertions(+), 32 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 f964cd9c5c411f8a2383cf2b080581a5c3349661


More information about the ghc-commits mailing list