mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
fix:pkg: fix a doctest failure with ghc 8.10
This commit is contained in:
parent
76ce328d5f
commit
605f8446e5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user