No subject

Harendra Kumar harendra.kumar at gmail.com
Fri Nov 26 19:31:27 UTC 2021


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20211127/52235283/attachment.html>


More information about the ghc-devs mailing list