Project

General

Profile

Bug #7304

UN_MINUS resolves to int64 instead of integer in ExpressionConversionWorker

Added by Constantin Asofiei about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
High
Target version:
-
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
case_num:
version:

History

#2 Updated by Constantin Asofiei about 1 year ago

I think in OpenEdge there is a runtime check if an expression argument is int64 instead of the integer parameter set at the OO method definition. A case is this:

   method public void m1(input i as integer):
   end.

   def var i as int.
   l:m1(- i).

The solution I think is to mark 'fromExpression' the caller arguments which have operators. And in ClassDefinition.fuzzyMethodLookup, in case of INPUT arguments (as these are the only ones which can have operators), let the argument work from int64 to integer.

#3 Updated by Constantin Asofiei about 1 year ago

Created task branch 7304a from trunk rev 14551.

#4 Updated by Constantin Asofiei about 1 year ago

  • Assignee set to Constantin Asofiei
  • Priority changed from Normal to High
  • Status changed from New to Review

7304a rev 14552 contains the implementation for the idea in note #7304-2.

#5 Updated by Greg Shah about 1 year ago

  • % Done changed from 0 to 100

Code Review Task Branch 7304a Revision 14552

No objections.

#6 Updated by Constantin Asofiei about 1 year ago

7304a changes were committed to 7199c rev 14555.

7304a was dead-archived.

#7 Updated by Constantin Asofiei 12 months ago

7199c was merged to trunk rev 14610 and archived

#8 Updated by Greg Shah 12 months ago

  • Status changed from Review to Closed

Also available in: Atom PDF