On Aug 1, 3:30 pm, John Wiegley <[email protected]> wrote: > On Aug 1, 2010, at 6:23 PM, Xavier Shay wrote: > > > The following does not work for me on next-0-g04cfa7a (a recent ledger 3, I > > think) > > > ; Expected tax liability of $150. Got $0. > > = /Income/ > > Expenses:Tax (account("Income").total < -6000 ? -0.15 : 0) > > Liabilities:Tax (account("Income").total < -6000 ? 0.15 : 0) > > This sounds like a bug that I'd like to look into. Can you please submit a > bug with examples to:http://newartisans.com/bugzilla? If not, let me know. Done: http://newartisans.com/bugzilla/show_bug.cgi?id=390
I was just looking into assertions, and this thread suggests that these expressions may be scoped by transaction, rather than the global scope that I want: http://groups.google.com/group/ledger-cli/browse_thread/thread/a8e76cffadcbcb88/504766486363c6f3?lnk=gst&q=assertions#504766486363c6f3 Aside: My version (as reported by ledger) is next-0-g04cfa7a, but I can't correlate this to a release. Tried to locate commit g04cfa7a... in git but failed.
