Skip to content
GitLab
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
cefef156
Commit
cefef156
authored
Sep 07, 2000
by
simonpj
Browse files
[project @ 2000-09-07 16:24:14 by simonpj]
Get the worker and wrapper in the right order
parent
04a28507
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/deSugar/DsForeign.lhs
View file @
cefef156
...
...
@@ -158,7 +158,7 @@ dsFImport fn_id ty may_not_gc ext_name cconv
wrapper_body = foldr ($) (res_wrapper work_app) arg_wrappers
wrap_rhs = mkInlineMe (mkLams (tvs ++ args) wrapper_body)
in
returnDs [NonRec
fn
_id w
rap
_rhs, NonRec
work
_id w
ork
_rhs]
returnDs [NonRec
work
_id w
ork
_rhs, NonRec
fn
_id w
rap
_rhs]
\end{code}
Foreign labels
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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