[commit: ghc] master: Clarify what is in ic_tythings, and refactor TcRnDriver.setInteractiveContext (e999950)

git at git.haskell.org git at git.haskell.org
Fri Nov 22 16:39:31 UTC 2013


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

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

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

commit e9999500694e2da81b43657cb86c48c8d20266fa
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Nov 22 09:40:10 2013 +0000

    Clarify what is in ic_tythings, and refactor TcRnDriver.setInteractiveContext
    
    Previously there was a ton of cruft to do wtih "visible ids" in
    setInteractiveContext, but I made it all a lot simpler by providing
    a way to add to the typecheckers list of "global type variables",
    via TcEnv.tcExtendGlobalTyVars.  This is much nicer.


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

e9999500694e2da81b43657cb86c48c8d20266fa
 compiler/main/HscTypes.lhs        |    9 ++-
 compiler/typecheck/TcRnDriver.lhs |  111 ++++++++++++++++---------------------
 2 files changed, 53 insertions(+), 67 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 e9999500694e2da81b43657cb86c48c8d20266fa


More information about the ghc-commits mailing list