Closed
Description
Clean build using stack build
on 3abca47 fails with the following error message. Is there some GHC Nat
plugin that wasn't properly version-bumped in the dependencies?
[29 of 78] Compiling Clash.Class.BitPack ( src/Clash/Class/BitPack.hs, .stack-work/dist/x86_64-linux/Cabal-2.4.0.1/build/Clash/Class/BitPack.o )
/home/cactus/prog/clash/import/clash-compiler/clash-prelude/src/Clash/Class/BitPack.hs:320:19: error:
Couldn't match type ‘GFieldSize f
GHC.TypeNats.<=? Max (GFieldSize f) (GFieldSize g)’
with ‘'True’
arising from a use of ‘undefined#’
|
320 | let padding = undefined# :: BitVector (Max (GFieldSize f) (GFieldSize g) - GFieldSize f) in
| ^^^^^^^^^^
/home/cactus/prog/clash/import/clash-compiler/clash-prelude/src/Clash/Class/BitPack.hs:325:19: error:
Couldn't match type ‘GFieldSize g
GHC.TypeNats.<=? Max (GFieldSize f) (GFieldSize g)’
with ‘'True’
arising from a use of ‘undefined#’
|
325 | let padding = undefined# :: BitVector (Max (GFieldSize f) (GFieldSize g) - GFieldSize g) in
| ^^^^^^^^^^
/home/cactus/prog/clash/import/clash-compiler/clash-prelude/src/Clash/Class/BitPack.hs:337:78: error:
Couldn't match type ‘GFieldSize f
GHC.TypeNats.<=? Max (GFieldSize f) (GFieldSize g)’
with ‘'True’
arising from a use of ‘split#’
|
337 | (f, _ :: BitVector (Max (GFieldSize f) (GFieldSize g) - GFieldSize f)) = split# b
| ^^^^^^^^
/home/cactus/prog/clash/import/clash-compiler/clash-prelude/src/Clash/Class/BitPack.hs:338:78: error:
Couldn't match type ‘GFieldSize g
GHC.TypeNats.<=? Max (GFieldSize f) (GFieldSize g)’
with ‘'True’
arising from a use of ‘split#’
|
338 | (g, _ :: BitVector (Max (GFieldSize f) (GFieldSize g) - GFieldSize g)) = split# b
| ^^^^^^^^
Metadata
Metadata
Assignees
Labels
No labels