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
Glasgow Haskell Compiler
GHC
Commits
732f30c2
Commit
732f30c2
authored
Jun 20, 2007
by
simonpj@microsoft.com
Browse files
Trivial fix to clear Trac
#1386
parent
60a049fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/rename/RnSource.lhs
View file @
732f30c2
...
...
@@ -280,7 +280,7 @@ rnHsForeignDecl (ForeignImport name ty spec)
rnHsForeignDecl (ForeignExport name ty spec)
= lookupLocatedOccRn name `thenM` \ name' ->
rnHsTypeFVs (fo_decl_msg name) ty `thenM` \ (ty', fvs) ->
returnM (ForeignExport name' ty' spec, fvs )
returnM (ForeignExport name' ty' spec, fvs
`addOneFV` unLoc name'
)
-- NB: a foreign export is an *occurrence site* for name, so
-- we add it to the free-variable list. It might, for example,
-- be imported from another module
...
...
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