Skip to content

Types: remove stubs and replace by types from Beancount repo. - #1920

Merged
yagebu merged 1 commit into
beancount:mainfrom
yagebu:types
Jan 25, 2025
Merged

yagebu merged 1 commit into
beancount:mainfrom
yagebu:types

Conversation

@yagebu

@yagebu yagebu commented Dec 22, 2024

Copy link
Copy Markdown
Member

No description provided.

@yagebu
yagebu force-pushed the types branch 8 times, most recently from 6e20d49 to 64a1883 Compare December 29, 2024 12:47
@yagebu
yagebu force-pushed the types branch 3 times, most recently from 28b3dec to 29facfa Compare January 3, 2025 11:46
@yagebu
yagebu force-pushed the types branch 2 times, most recently from fe5ee04 to ad5412a Compare January 25, 2025 09:49
@yagebu
yagebu marked this pull request as ready for review January 25, 2025 09:55
@yagebu
yagebu merged commit ad5412a into beancount:main Jan 25, 2025
@yagebu
yagebu deleted the types branch January 25, 2025 09:56
robcohen added a commit to rustledger/rustfava that referenced this pull request Aug 2, 2026
rledger used to reject this transaction in tests/data/errors.beancount:

  2018-07-07 * "a" "b"
    Assets:Cash     -14.00 USD
    Expenses:Stuff    4.14
    Expenses:Stuff

reporting "multiple postings missing amounts or with unresolved cost
specs for currency USD (2 unknowns)".

`4.14` is a number with the currency elided. rledger was treating it as a
posting to be SOLVED rather than one that merely needs denominating, so
it counted two unknowns where there is one. It now infers the currency,
keeps the number, and books 4.14 USD and 9.86 USD, which is exactly what
Python beancount does with the same input.

Fixed in rustledger by rustledger/rustledger#1921 (issue beancount#1920). The
other two entries in the snapshot are unchanged.

This branch was previously deployed

1 inactive deployment
github-pages — ad5412a7 Deployed Jan 25, 2025 by yagebu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant