Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
67eedc22
Commit
67eedc22
authored
Oct 29, 2002
by
simonpj
Browse files
[project @ 2002-10-29 17:56:58 by simonpj]
Oops... add missing free-vars
parent
69d02b38
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/rename/RnSource.lhs
View file @
67eedc22
...
...
@@ -274,8 +274,9 @@ rnBindsAndThen EmptyBinds thing_inside = thing_inside EmptyBinds
rnBindsAndThen (MonoBind bind sigs _) thing_inside = rnMonoBindsAndThen bind sigs thing_inside
rnBindsAndThen (IPBinds binds is_with) thing_inside
= warnIf is_with withWarning `thenM_`
rnIPBinds binds `thenM` \ (binds',fvBinds) ->
thing_inside (IPBinds binds' is_with)
rnIPBinds binds `thenM` \ (binds',fv_binds) ->
thing_inside (IPBinds binds' is_with) `thenM` \ (thing, fvs_thing) ->
returnM (thing, fvs_thing `plusFV` fv_binds)
\end{code}
...
...
Write
Preview
Markdown
is supported
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