From 82de2e9fbc93967281d5d0c01ee5bc2cd19bc55d Mon Sep 17 00:00:00 2001 From: Alexey Kuleshevich Date: Mon, 16 Dec 2024 10:43:42 -0700 Subject: [PATCH] Disable doctest that is not relevant for new ghc versions --- Color/src/Graphics/Color/Algebra/Elevator.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Color/src/Graphics/Color/Algebra/Elevator.hs b/Color/src/Graphics/Color/Algebra/Elevator.hs index 8f9aff3..79e46ee 100644 --- a/Color/src/Graphics/Color/Algebra/Elevator.hs +++ b/Color/src/Graphics/Color/Algebra/Elevator.hs @@ -135,7 +135,9 @@ double2Word64 d' -- | Differs from `fromIntegral` due to: [GHC #17782](https://gitlab.haskell.org/ghc/ghc/issues/17782) -- --- >>> fromIntegral (maxBound :: Word64) :: Double +-- This is the value for ghc < 9.2 +-- +-- > fromIntegral (maxBound :: Word64) :: Double -- 1.844674407370955e19 -- maxWord64 :: Double