Skip to content

Commit fe787fb

Browse files
authored
Correct version numbers for *-hedgehog packages (#2603)
1 parent ec96cb7 commit fe787fb

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

.ci/cabal.project.local

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ package *
1010

1111
package clash-prelude
1212
ghc-options: -Werror
13-
flags: +doctests +multiple-hidden -workaround-ghc-mmap-crash
13+
flags: +doctests -workaround-ghc-mmap-crash
1414
tests: True
1515
benchmarks: True
1616

@@ -48,7 +48,7 @@ package clash-lib-hedgehog
4848
package clash-testsuite
4949
ghc-options: -Werror
5050
-- enable cosim
51-
flags: +cosim +multiple-hidden -workaround-ghc-mmap-crash
51+
flags: +cosim -workaround-ghc-mmap-crash
5252

5353
package clash-benchmark
5454
ghc-options: -Werror

clash-lib-hedgehog/clash-lib-hedgehog.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 2.2
22

33
name: clash-lib-hedgehog
4-
version: 1.9.0
4+
version: 1.8.0
55
synopsis: Hedgehog Generators for clash-lib
66
description: Hedgehog Generators for clash-lib
77
bug-reports: https://github.com/clash-lang/clash-compiler/issues

clash-prelude-hedgehog/clash-prelude-hedgehog.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 2.2
22

33
name: clash-prelude-hedgehog
4-
version: 1.9.0
4+
version: 1.8.0
55
synopsis: Hedgehog Generators for clash-prelude
66
description: Hedgehog Generators for clash-prelude
77
bug-reports: https://github.com/clash-lang/clash-compiler/issues

clash-prelude/src/Clash/Prelude/BlockRam.hs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,13 @@ readNew (blockRam (0 :> 1 :> Nil))
846846
... =>
847847
Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a
848848
849+
#elif __GLASGOW_HASKELL__ >= 906 && !defined(CLASH_MULTIPLE_HIDDEN)
850+
>>> :t readNew (blockRam (0 :> 1 :> Nil))
851+
readNew (blockRam (0 :> 1 :> Nil))
852+
:: ...
853+
... =>
854+
Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a
855+
849856
#else
850857
>>> :t readNew (blockRam (0 :> 1 :> Nil))
851858
readNew (blockRam (0 :> 1 :> Nil))

tests/clash-testsuite.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ flag multiple-hidden
2828
experimental feature, possibly triggering confusing error messages. By
2929
default, it is enabled on development versions of Clash and disabled on
3030
releases.
31-
default: True
31+
default: False
3232
manual: True
3333

3434
flag workaround-ghc-mmap-crash

0 commit comments

Comments
 (0)