projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
345e841
)
Use 'nonIOok' instead of 'True'; cosmetics only
author
simonpj@microsoft.com
<unknown>
Mon, 23 Feb 2009 10:16:59 +0000
(10:16 +0000)
committer
simonpj@microsoft.com
<unknown>
Mon, 23 Feb 2009 10:16:59 +0000
(10:16 +0000)
compiler/typecheck/TcForeign.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcForeign.lhs
b/compiler/typecheck/TcForeign.lhs
index
b1dda2d
..
d3a24a0
100644
(file)
--- a/
compiler/typecheck/TcForeign.lhs
+++ b/
compiler/typecheck/TcForeign.lhs
@@
-96,7
+96,7
@@
tcCheckFIType _ arg_tys res_ty (DNImport spec) = do
checkCg checkDotnet
dflags <- getDOpts
checkForeignArgs (isFFIDotnetTy dflags) arg_tys
- checkForeignRes True{-non IO ok-} (isFFIDotnetTy dflags) res_ty
+ checkForeignRes nonIOok (isFFIDotnetTy dflags) res_ty
let (DNCallSpec isStatic kind _ _ _ _) = spec
case kind of
DNMethod | not isStatic ->