Compiler chooses wrong overload for some Integer operators

Bug #966355 reported by Paul J. Lucas on 2012-03-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Paul J. Lucas

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.

Related branches

description: updated
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers