Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tag "_modified" has not been declared #2148

Closed
DamienCassou opened this issue Jan 4, 2024 · 2 comments
Closed

tag "_modified" has not been declared #2148

DamienCassou opened this issue Jan 4, 2024 · 2 comments
Labels
A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. check impact3 Affects just a few users. severity2 Minor to moderate usability/doc bug, reasonably easy to avoid or tolerate.

Comments

@DamienCassou
Copy link
Contributor

Input

= expense
    budget:unbudgeted                          *-1.0
    equitybudget                                *1.0

2023/01/02 foo
    asset                                        -23
    expense:foo                                   23

Actual

$ hledger -f ~/tmp/foo.ledger --auto check tags
hledger: Error: /home/cassou/tmp/foo.ledger:5:
5 | 2023-01-02 foo
  |     asset                         -23
  |     expense:foo                    23
  |     budget:unbudgeted             -23
  |     equitybudget                   23

Strict tag checking is enabled, and
tag "_modified" has not been declared.
Consider adding a tag directive. Examples:

tag _modified

Expected

No error because the tag "_modified" is not used anywhere in my file.

hledger version is 1.32.2. I'm on Fedora.

@DamienCassou DamienCassou added the A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. label Jan 4, 2024
simonmichael added a commit that referenced this issue Jan 4, 2024
@simonmichael simonmichael added check severity2 Minor to moderate usability/doc bug, reasonably easy to avoid or tolerate. impact3 Affects just a few users. labels Jan 4, 2024
@simonmichael
Copy link
Owner

Thanks! Fixed in master.

@DamienCassou
Copy link
Contributor Author

Thank you very much!

adept pushed a commit to adept/hledger that referenced this issue Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. check impact3 Affects just a few users. severity2 Minor to moderate usability/doc bug, reasonably easy to avoid or tolerate.
Projects
None yet
Development

No branches or pull requests

2 participants