[commit: ghc] ghc-7.8: Take account of the AvailTC invariant when importing (86d240b)
git at git.haskell.org
git at git.haskell.org
Mon Oct 27 16:04:54 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.8
Link : http://ghc.haskell.org/trac/ghc/changeset/86d240b356b9d7b595da98ec286754c8f86e45e1/ghc
>---------------------------------------------------------------
commit 86d240b356b9d7b595da98ec286754c8f86e45e1
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.
(cherry picked from commit f964cd9c5c411f8a2383cf2b080581a5c3349661)
>---------------------------------------------------------------
86d240b356b9d7b595da98ec286754c8f86e45e1
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 86d240b356b9d7b595da98ec286754c8f86e45e1
More information about the ghc-commits
mailing list