projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fe13187
)
Fix Trac #1680; check for unboxed tuples in TcType.marshalableTyCon
author
simonpj@microsoft.com
<unknown>
Thu, 11 Oct 2007 12:34:26 +0000
(12:34 +0000)
committer
simonpj@microsoft.com
<unknown>
Thu, 11 Oct 2007 12:34:26 +0000
(12:34 +0000)
compiler/typecheck/TcType.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcType.lhs
b/compiler/typecheck/TcType.lhs
index
388a28d
..
1d4d166
100644
(file)
--- a/
compiler/typecheck/TcType.lhs
+++ b/
compiler/typecheck/TcType.lhs
@@
-1276,6
+1276,7
@@
legalFFITyCon tc
marshalableTyCon dflags tc
= (dopt Opt_UnliftedFFITypes dflags
&& isUnLiftedTyCon tc
+ && not (isUnboxedTupleTyCon tc)
&& case tyConPrimRep tc of -- Note [Marshalling VoidRep]
VoidRep -> False
other -> True)