nofib fails to build in ben-raytrace: Word# vs. Word64##
I observe this in the perf-nofib
job on master, e.g. in https://gitlab.haskell.org/ghc/ghc/-/jobs/894412:
Random/Wyhash64.hs:27:20: error:
• Couldn't match expected type ‘GHC.Prim.Word#’
with actual type ‘GHC.Prim.Word64#’
• In the first argument of ‘timesWord2#’, namely ‘a’
In the expression: timesWord2# a b
In the expression:
case timesWord2# a b of (# x, y #) -> (W64# x, W64# y)
|
27 | case timesWord2# a b of (# x, y #) -> (W64# x, W64# y)
| ^
Random/Wyhash64.hs:27:22: error:
• Couldn't match expected type ‘GHC.Prim.Word#’
with actual type ‘GHC.Prim.Word64#’
• In the second argument of ‘timesWord2#’, namely ‘b’
In the expression: timesWord2# a b
In the expression:
case timesWord2# a b of (# x, y #) -> (W64# x, W64# y)
|
27 | case timesWord2# a b of (# x, y #) -> (W64# x, W64# y)
| ^
Random/Wyhash64.hs:27:47: error:
• Couldn't match expected type ‘GHC.Prim.Word64#’
with actual type ‘GHC.Prim.Word#’
• In the first argument of ‘W64#’, namely ‘x’
In the expression: W64# x
In the expression: (W64# x, W64# y)
|
27 | case timesWord2# a b of (# x, y #) -> (W64# x, W64# y)
| ^
Random/Wyhash64.hs:27:55: error:
• Couldn't match expected type ‘GHC.Prim.Word64#’
with actual type ‘GHC.Prim.Word#’
• In the first argument of ‘W64#’, namely ‘y’
In the expression: W64# y
In the expression: (W64# x, W64# y)
|
27 | case timesWord2# a b of (# x, y #) -> (W64# x, W64# y)
| ^
I didn’t find an existing issue; sorry if I didn't search enough.