Skip to content

Commit 348cfdb

Browse files
author
Arnaud Bailly
authored
Add signature to help typeclass resolution fix #47 (#48)
1 parent 2c85370 commit 348cfdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

quickcheck-dynamic/src/Test/QuickCheck/StateModel.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ instance forall state. StateModel state => Arbitrary (Actions state) where
381381
where
382382
shrinker :: (Step state, Annotated state) -> [(Step state, Annotated state)]
383383
shrinker (v := act, s) = [(unsafeCoerceVar v := act', s) | Some act'@ActionWithPolarity{} <- computeShrinkAction s act]
384+
384385
customActionsShrinker :: [(Step state, Annotated state)] -> [[(Step state, Annotated state)]]
385386
customActionsShrinker acts =
386387
let usedVars = mconcat [getAllVariables a <> getAllVariables (underlyingState s) | (_ := a, s) <- acts]

0 commit comments

Comments
 (0)