[project @ 2001-05-03 15:53:47 by simonmar]
authorsimonmar <unknown>
Thu, 3 May 2001 15:53:47 +0000 (15:53 +0000)
committersimonmar <unknown>
Thu, 3 May 2001 15:53:47 +0000 (15:53 +0000)
oops, fix braino

ghc/compiler/deSugar/DsForeign.lhs

index 79e7076..46ea86c 100644 (file)
@@ -146,7 +146,7 @@ dsFImport fn_id ty unsafe ext_name cconv
        maybe_arg_ids | unsafe    = []
                      | otherwise = work_arg_ids
     in
-    boxResult work_arg_ids io_res_ty                   `thenDs` \ (ccall_result_ty, res_wrapper) ->
+    boxResult maybe_arg_ids io_res_ty                  `thenDs` \ (ccall_result_ty, res_wrapper) ->
 
     getUniqueDs                                        `thenDs` \ ccall_uniq ->
     getUniqueDs                                        `thenDs` \ work_uniq ->