Skip to content

Commit 8eca2a8

Browse files
committed
Support latest QuickCheck
1 parent d75723d commit 8eca2a8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

optparse-applicative.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ test-suite tests
154154

155155
build-depends: base
156156
, optparse-applicative
157-
, QuickCheck >= 2.8 && < 2.16
157+
, QuickCheck >= 2.8 && < 2.17
158158

159159
if !impl(ghc >= 8)
160160
build-depends: semigroups

src/Options/Applicative/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ contextNames ns =
8080
in reverse $ go <$> ns
8181

8282
instance MonadP P where
83-
enterContext name pinfo = P $ lift $ modify $ \(_, ctxs) -> (CmdStart, (Context name pinfo : ctxs))
83+
enterContext name pinfo = P $ lift $ modify $ \(_, ctxs) -> (CmdStart, Context name pinfo : ctxs)
8484
exitContext = P $ lift $ modify $ fmap (drop 1)
8585
continueContext = P $ lift $ modify $ \(_, ctxs) -> (CmdCont, ctxs)
8686
getPrefs = P . lift . lift $ ask

0 commit comments

Comments
 (0)