Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Expression parser should support arithmetic with booleans

#92

Currently, attempting to evaluate the expression (bool)bool_var + 2 raises an exception. The expression parser should be changed so that booleans are promoted to integers for arithmetic.

Reported by Christopher Stawarz · February 25th, 2013 @ 11:13 AM

State: resolved
Milestone: none
Assigned to: Christopher Stawarz Christopher Stawarz

Activity

  1. Christopher Stawarz
  2. Christopher Stawarz
  3. Christopher Stawarz
    Christopher Stawarz
    • State changed from open to resolved
    • Assigned user set to Christopher Stawarz

    This was fixed as a result of transitioning the expression parser from stx::AnyScalar to mw::Datum.

    October 3rd, 2014 @ 04:44 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.