Bug #3362
parenthesized object references are not properly detected as an object reference in the parser
Start date:
10/24/2017
Due date:
% Done:
100%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:
History
#1 Updated by Greg Shah over 8 years ago
The original recreate was reported here. The testcase:
METHOD PUBLIC CHARACTER getDesc (ipcLic AS CHARACTER, ipiParId AS INTEGER): RETURN (NEW LiceSys(ipcLic,ipiParId)):getDesc(). END METHOD.
It will fail to parse the :getDesc() because the NEW is parenthesized. The problem is in progress.g in the method isObjectType() which will need to be enhanced to ignore parenthesis. The static detection processing will need to be improved too.
#2 Updated by Greg Shah over 8 years ago
The fix for this issue is being committed to branch 3353a as revision 11191.
#3 Updated by Greg Shah over 8 years ago
- Status changed from WIP to Test
#4 Updated by Greg Shah over 8 years ago
- File 3353a_20171024a.patch
added
Attached is the patch for this fix.
#5 Updated by Greg Shah almost 8 years ago
Branch 3353a was merged into the trunk in revision 11187. This is FWD v3.2.
FWD v3.2.0 has been released to the public. This issue is being closed accordingly.
#6 Updated by Greg Shah almost 8 years ago
- % Done changed from 0 to 100
- Status changed from Test to Closed