When printing types in the interactive UI, take account of free variables
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 22 Jan 2013 17:01:30 +0000 (17:01 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 22 Jan 2013 17:01:30 +0000 (17:01 +0000)
commit2cc42dbb6ff09f4105fe44fe1afe9ac08a140d44
treefeb5cf29e0b2664b9b9d2abc55cca64d79d53322
parent2ec39c76b9816f76f60076fb52c8038035cd1f7b
When printing types in the interactive UI, take account of free variables

Often the types we print are full-generalised, but in fact *kinds* are
not, so we need to use tidyOpenType.

Fixes Trac #7587
compiler/main/HscMain.hs
compiler/main/InteractiveEval.hs
compiler/main/PprTyThing.hs
compiler/typecheck/TcRnDriver.lhs