hspec-smallcheck-0.3.0 does not compile
peti opened this issue · comments
Citing from http://hydra.cryp.to/build/1109878/log/raw:
src/Test/Hspec/SmallCheck.hs:21:20:
Couldn't match type ‘String -> Result’ with ‘Result’
Expected type: Maybe Location -> Result
Actual type: Maybe Location -> String -> Result
Probable cause: ‘Fail’ is applied to too few arguments
In the first argument of ‘(.)’, namely ‘Fail’
In the second argument of ‘maybe’, namely ‘(Fail . ppFailure)’
src/Test/Hspec/SmallCheck.hs:21:27:
Couldn't match type ‘[Char]’ with ‘Maybe Location’
Expected type: PropertyFailure -> Maybe Location
Actual type: PropertyFailure -> String
In the second argument of ‘(.)’, namely ‘ppFailure’
In the second argument of ‘maybe’, namely ‘(Fail . ppFailure)’
Fixed on Hackage, thanks for spotting this.