Ambiguous occurrences with ghc-9.4.1
pdobsan opened this issue · 0 comments
pdobsan commented
When memory
(at commit 4599941) compiled with ghc-9.4.1
the following references are ambiguous in Data/Memory/Internal/CompatPrim64.hs
:
and64#
eqInt64#
eqWord64#
geInt64#
geWord64#
gtInt64#
gtWord64#
int64ToInt#
int64ToWord64#
intToInt64#
leInt64#
leWord64#
ltInt64#
ltWord64#
neInt64#
neWord64#
not64#
or64#
quotInt64#
remInt64#
timesWord64#
uncheckedShiftL64#
uncheckedShiftRL64#
word64ToInt64#
word64ToWord#
wordToWord64#
xor64#
See a segment of the log file below:
Data/Memory/Internal/CompatPrim64.hs:22:7: error:
Ambiguous occurrence ‘eqInt64#’
It could refer to
either ‘GHC.Prim.eqInt64#’,
imported from ‘GHC.Prim’ at Data/Memory/Internal/CompatPrim64.hs:55:1-40
or ‘Data.Memory.Internal.CompatPrim64.eqInt64#’,
defined at Data/Memory/Internal/CompatPrim64.hs:85:1
|
22 | , eqInt64#
| ^^^^^^^^
....