hedgehogqa / haskell-hedgehog-classes

Hedgehog will eat your typeclass bugs
BSD 3-Clause "New" or "Revised" License
56 stars 17 forks source link

Support for hedgehog 1.0.2 #28

Closed dhess closed 4 years ago

dhess commented 4 years ago

Hi, thanks for this package!

hedgehog 1.0.2 seems to have made a breaking change:

Preprocessing library for hedgehog-classes-0.2.4..
Building library for hedgehog-classes-0.2.4..
[ 1 of 43] Compiling Hedgehog.Classes.Common.Bottom ( src/Hedgehog/Classes/Common/Bottom.hs, dist/build/Hedgehog/Classes/Common/Bottom.o )
[ 2 of 43] Compiling Hedgehog.Classes.Common.Compat ( src/Hedgehog/Classes/Common/Compat.hs, dist/build/Hedgehog/Classes/Common/Compat.o )
[ 3 of 43] Compiling Hedgehog.Classes.Common.Func ( src/Hedgehog/Classes/Common/Func.hs, dist/build/Hedgehog/Classes/Common/Func.o )
[ 4 of 43] Compiling Hedgehog.Classes.Common.ApTrans ( src/Hedgehog/Classes/Common/ApTrans.hs, dist/build/Hedgehog/Classes/Common/ApTrans.o )
[ 5 of 43] Compiling Hedgehog.Classes.Common.Gen ( src/Hedgehog/Classes/Common/Gen.hs, dist/build/Hedgehog/Classes/Common/Gen.o )
[ 6 of 43] Compiling Hedgehog.Classes.Common.Equation ( src/Hedgehog/Classes/Common/Equation.hs, dist/build/Hedgehog/Classes/Common/Equation.o )
[ 7 of 43] Compiling Hedgehog.Classes.Common.IO ( src/Hedgehog/Classes/Common/IO.hs, dist/build/Hedgehog/Classes/Common/IO.o )
[ 8 of 43] Compiling Hedgehog.Classes.Common.PP ( src/Hedgehog/Classes/Common/PP.hs, dist/build/Hedgehog/Classes/Common/PP.o )

src/Hedgehog/Classes/Common/PP.hs:26:28: error:
    • Couldn't match expected type ‘Hedgehog.Internal.Config.UseColor’
                  with actual type ‘Maybe a0’
    • In the first argument of ‘renderDoc’, namely ‘Nothing’
      In the first argument of ‘(=<<)’, namely ‘renderDoc Nothing’
      In the expression: renderDoc Nothing =<< ppResult x
   |
26 | renderResult x = renderDoc Nothing =<< ppResult x
   |                            ^^^^^^^

builder for '/nix/store/a7dv98wrmbildjv5vx0kzcq90h2h55n3-hedgehog-classes-0.2.4.drv' failed with exit code 1
dhess commented 4 years ago

Thanks!

chessai commented 4 years ago

published to hackage. docs should build soon. thanks for the issue!

chessai commented 4 years ago

0.2.4.1