From 53ae9bd6e7871a54a45186e94046411400202829 Mon Sep 17 00:00:00 2001 From: Christiaan Baaij Date: Thu, 9 Nov 2023 16:43:51 +0100 Subject: [PATCH] Fix doctest on GHC 9.2-9.6 without multiple hidden (#2605) --- clash-prelude/src/Clash/Prelude/BlockRam.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clash-prelude/src/Clash/Prelude/BlockRam.hs b/clash-prelude/src/Clash/Prelude/BlockRam.hs index e196c8e730..718c253bb7 100644 --- a/clash-prelude/src/Clash/Prelude/BlockRam.hs +++ b/clash-prelude/src/Clash/Prelude/BlockRam.hs @@ -846,7 +846,7 @@ readNew (blockRam (0 :> 1 :> Nil)) ... => Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a -#elif __GLASGOW_HASKELL__ >= 906 && !defined(CLASH_MULTIPLE_HIDDEN) +#elif __GLASGOW_HASKELL__ >= 902 && !defined(CLASH_MULTIPLE_HIDDEN) >>> :t readNew (blockRam (0 :> 1 :> Nil)) readNew (blockRam (0 :> 1 :> Nil)) :: ...