hledger
hledger copied to clipboard
Wrong location of pointer in error message
Given this journal in foo.hledger:
2022/01/27 foo
asset:current 3
; some comment
asset:receivables -3 = -3
2022/08/27 foo
asset:current -3
asset:receivables 3
I get this error message:
$ hledger -f foo.hledger check recentassertions
hledger: Error: /tmp/foo.hledger:4:54:
| 2022-01-27 foo
| asset:current 3
3 | ; some comment
| ^^^^
| asset:receivables -3 = -3
The recentassertions check is enabled, ...
Note the position of the ^^^^ which seems wrong.
hledger --version: 1.27- What platform you're on: GNU/Linux
Thanks for the report.
Fixed by f5c3bbc.