;dev: make doctest happy on ghc-8.10.7
This commit is contained in:
parent
c41588c5cd
commit
4d5ff3fe4e
@ -116,11 +116,11 @@ import Hledger.Data.Valuation
|
|||||||
-- With --verbose-tags, the equivalent visible tags will also be added.
|
-- With --verbose-tags, the equivalent visible tags will also be added.
|
||||||
-- These tag names are mentioned in docs and can be matched by user queries, so consider the impact before changing them.
|
-- These tag names are mentioned in docs and can be matched by user queries, so consider the impact before changing them.
|
||||||
generatedTransactionTagName, modifiedTransactionTagName, costPostingTagName, conversionPostingTagName, generatedPostingTagName :: TagName
|
generatedTransactionTagName, modifiedTransactionTagName, costPostingTagName, conversionPostingTagName, generatedPostingTagName :: TagName
|
||||||
generatedTransactionTagName = "_generated-transaction" -- ^ transactions generated by a periodic txn rule
|
generatedTransactionTagName = "_generated-transaction" -- transactions generated by a periodic txn rule
|
||||||
modifiedTransactionTagName = "_modified-transaction" -- ^ transactions modified by an auto posting rule
|
modifiedTransactionTagName = "_modified-transaction" -- transactions modified by an auto posting rule
|
||||||
generatedPostingTagName = "_generated-posting" -- ^ postings generated by hledger for one reason or another
|
generatedPostingTagName = "_generated-posting" -- postings generated by hledger for one reason or another
|
||||||
costPostingTagName = "_cost-posting" -- ^ postings which have or could have a cost that's equivalent to nearby conversion postings
|
costPostingTagName = "_cost-posting" -- postings which have or could have a cost that's equivalent to nearby conversion postings
|
||||||
conversionPostingTagName = "_conversion-posting" -- ^ postings to an equity account of Conversion type which have an amount that's equivalent to a nearby costful or potentially costful posting
|
conversionPostingTagName = "_conversion-posting" -- postings to an equity account of Conversion type which have an amount that's equivalent to a nearby costful or potentially costful posting
|
||||||
|
|
||||||
instance HasAmounts BalanceAssertion where
|
instance HasAmounts BalanceAssertion where
|
||||||
styleAmounts styles ba@BalanceAssertion{baamount} = ba{baamount=styleAmounts styles baamount}
|
styleAmounts styles ba@BalanceAssertion{baamount} = ba{baamount=styleAmounts styles baamount}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user