Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
182edd42
Commit
182edd42
authored
Apr 30, 2007
by
mnislaih
Browse files
Remove skolem tyvars from the InteractiveContext once they have been instantiated by :print
parent
ee03fe2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/ghci/Debugger.hs
View file @
182edd42
...
...
@@ -99,7 +99,11 @@ pprintClosureCommand session bindThings force str = do
ids
=
typeEnvIds
type_env
ids'
=
map
(
\
id
->
id
`
setIdType
`
substTy
subst
(
idType
id
))
ids
type_env'
=
extendTypeEnvWithIds
type_env
ids'
ictxt'
=
ictxt
{
ic_type_env
=
type_env'
}
subst_dom
=
varEnvKeys
$
getTvSubstEnv
subst
ictxt'
=
ictxt
{
ic_type_env
=
type_env'
,
ic_tyvars
=
foldl'
delVarSetByKey
(
ic_tyvars
ictxt
)
subst_dom
}
writeIORef
ref
(
hsc_env
{
hsc_IC
=
ictxt'
})
tidyTermTyVars
::
Session
->
Term
->
IO
Term
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment