Keep track of free type variables in the interactive bindings
authorSimon Marlow <simonmar@microsoft.com>
Wed, 25 Apr 2007 13:03:32 +0000 (13:03 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 25 Apr 2007 13:03:32 +0000 (13:03 +0000)
commit671b39c5b40e5a3105e4ffb49b673b20ce96ba15
tree27a6c0de148a492465fedaa4c7db5941e9cfc6fe
parent808e6d4e915b12c29eaeada7b70318b829eafe82
Keep track of free type variables in the interactive bindings

Now, the type checker won't attempt to generalise over the skolem
variables in the interactive bindings.  If we end up trying to show
one of these types, there will be an unresolved predicate 'Show t'
which causes a type error (albeit a strange one, I'll fix that
later).
compiler/ghci/Debugger.hs
compiler/main/GHC.hs
compiler/main/HscMain.lhs
compiler/main/HscTypes.lhs
compiler/typecheck/TcRnDriver.lhs