← Back to team overview

zorba-coders team mailing list archive

[Bug 966355] Re: Compiler chooses wrong overload for some Integer operators

 

** Changed in: zorba
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/966355

Title:
  Compiler chooses wrong overload for some Integer operators

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  For an xs_integer (that is a typedef for Integer), an expression such
  as:

    i - 1

  apparently constructs a Decimal for the 1 and performs an Integer -
  Decimal calculation that returns a Decimal. It shouldn't construct a
  Decimal.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/966355/+subscriptions


References