nick8325 / quickcheck

Automatic testing of Haskell programs.
Other
723 stars 121 forks source link

2.12.6 fails to build #227

Closed fosskers closed 6 years ago

fosskers commented 6 years ago

With a vanilla cabal new-test, we see:

Building library for QuickCheck-2.12.6..
[ 1 of 16] Compiling Test.QuickCheck.Exception ( Test/QuickCheck/Exception.hs, dist/build/Test/QuickCheck/Exception.o )
[ 2 of 16] Compiling Test.QuickCheck.Random ( Test/QuickCheck/Random.hs, dist/build/Test/QuickCheck/Random.o )
[ 3 of 16] Compiling Test.QuickCheck.Gen ( Test/QuickCheck/Gen.hs, dist/build/Test/QuickCheck/Gen.o )
[ 4 of 16] Compiling Test.QuickCheck.Gen.Unsafe ( Test/QuickCheck/Gen/Unsafe.hs, dist/build/Test/QuickCheck/Gen/Unsafe.o )
[ 5 of 16] Compiling Test.QuickCheck.Arbitrary ( Test/QuickCheck/Arbitrary.hs, dist/build/Test/QuickCheck/Arbitrary.o )
[ 6 of 16] Compiling Test.QuickCheck.Poly ( Test/QuickCheck/Poly.hs, dist/build/Test/QuickCheck/Poly.o )
[ 7 of 16] Compiling Test.QuickCheck.Modifiers ( Test/QuickCheck/Modifiers.hs, dist/build/Test/QuickCheck/Modifiers.o )

Test/QuickCheck/Modifiers.hs:62:5: error:
    Not in scope: type constructor or class ‘Smaller’
    Perhaps you meant ‘Small’ (line 351)
   |
62 |   , Smaller(..)
   |     ^^^^^^^^^^^
nick8325 commented 6 years ago

Argh, I accidentally published some random code that I was in the middle of working on!

Should be fixed in 2.12.6.1 (now on Hackage).

fosskers commented 6 years ago

Thank you! :)

fosskers commented 6 years ago

@nick8325 can you deprecate 2.12.6 on Hackage as well, so that everyone knows to avoid it?

nick8325 commented 6 years ago

Good idea - done!