Project

General

Profile

Bug #4126

Discrepancy in FWD runtime data

Added by Alexei Kaigorodov about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/01/2019
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:

Screenshot at 2019-07-01 17-55-33.png (351 KB) Alexei Kaigorodov, 07/01/2019 07:01 AM

History

#1 Updated by Alexei Kaigorodov about 5 years ago

Look at the attached screenshot: variable definedModes obtained as caller.getParameterModes(function) has value "II" (that is, 2 parameters), but the field caller.mthd refers to a method with 3 parameters.
As a result, a pop-up window appears saying "Mismatched parameters types passed to procedure format_string/abl/makeCheck.p".

Procedure format_string/abl/makeCheck.p had 2 parameters, I added 3d parameter and made conversion. Then this bug appeared. I deleted uast/buils and uast/src, relaunched conversion, but the bug still appear.

To reproduce:
- pull revision 1884 of testcases
- make conversion and start server
- cd uast/format_string/bin
- run ./testIntChUI.sh

#2 Updated by Constantin Asofiei about 5 years ago

There is a script in testcases/uast, called cleanup.sh - this script is supposed to clean all conversion artifacts.

In particular, your problem is because of stale name_map.cache - remove this file (and any other name_map.* files) and convert again.

#3 Updated by Greg Shah over 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF