fix:pkg: fix a doctest failure with ghc 8.10

This commit is contained in:
Simon Michael 2024-05-17 15:08:26 -10:00
parent 76ce328d5f
commit 605f8446e5

View File

@ -838,7 +838,7 @@ regexMatchValue rules record sgroup = let
$ concatMap cbMatchers
$ filter (isBlockActive rules record)
$ rconditionalblocks rules
-- ^ XXX adjusted to not use memoized field as caller might be sending a subset of rules with just one CB (hacky)
-- XXX adjusted to not use memoized field as caller might be sending a subset of rules with just one CB (hacky)
group = (read (T.unpack sgroup) :: Int) - 1 -- adjust to 0-indexing
in atMay matchgroups group