Hi,

We now always use Word64# to implement Word64.


You can find the patch for primitive and many other packages in head.hackage:

https://gitlab.haskell.org/ghc/head.hackage/-/blob/master/patches/primitive-0.7.3.0.patch


Cheers,
Sylvain
⁣

Le 26 nov. 2021 à 20:35, à 20:35, Harendra Kumar <harendra.ku...@gmail.com> a 
écrit:
>Forgot to add subject in the previous email.
>
>On Sat, 27 Nov 2021 at 01:01, Harendra Kumar <harendra.ku...@gmail.com>
>wrote:
>
>> Hi GHC devs,
>>
>> While compiling the primitive package using ghc head I ran into the
>> following error:
>>
>> Data/Primitive/Types.hs:265:870: error:
>>     • Couldn't match type ‘Word64#’ with ‘Word#’
>>       Expected: Word64_#
>>         Actual: Word64#
>>     • In the fourth argument of ‘setWord64Array#’, namely ‘x#’
>>       In the first argument of ‘internal’, namely
>>         ‘(setWord64Array# arr# i n x#)’
>>       In the first argument of ‘unsafeCoerce#’, namely
>>         ‘(internal (setWord64Array# arr# i n x#))’
>>     |
>> 265 | derivePrim(Word64, W64#, sIZEOF_WORD64, aLIGNMENT_WORD64,
>>     |
>>
>>
>>
>> Any idea what this is and how it can be fixed?
>>
>> -harendra
>>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>ghc-devs mailing list
>ghc-devs@haskell.org
>http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to