Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Account type tag inconsistently recognized when declared in multiple files #2202

Copy link
Copy link

Description

@pwseo
Issue body actions

Account type: tags seem to be inconsistently recognized.

I have set up a minimum working example:

$ hledger --version
hledger 1.34, linux-x86_64
$ ls
a.j  b.j
$ cat a.j
account Node:Leaf A  ; type: Cash
include b.j
$ cat b.j
account Node:Leaf B  ; type: Cash

Now we use hledger's accounts' listing and request the account types as well:

$ hledger -s -f a.j accounts --types
Node:Leaf A    ; type: 
Node:Leaf B    ; type: C

Shouldn't Node:Leaf A also be of type: C?

--
Note: this does not happen if all account directives with type tags are declared in the same file.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.accountsjournalThe journal file format, and its features.The journal file format, and its features.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.