blob: cbdac0bb19223e6c2e3ef2bb3d2d4598eb668f74 (
plain)
1
2
3
4
5
6
7
8
|
T10461.hs:6:1: error: [GHC-10964]
• Unacceptable result type in foreign declaration:
‘Word#’ cannot be marshalled in a foreign call
UnliftedFFITypes is required to marshal unlifted types
• When checking declaration:
foreign import prim safe cheneycopy :: Any -> Word#
Suggested fix: Perhaps you intended to use UnliftedFFITypes
|