Project

General

Profile

Bug #10060

Skeleton class parsing improvement

Added by Paul Bodale about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Paul Bodale about 1 year ago

While checking the existing support for extent variables/properties the following case was discovered:

OpenEdge.Core.Assert:Equals(3, EXTENT(extVar)).

Converts to:

Assert.legacyEquals(new integer(3), aux.length);

For this case, compilation fails because legacyEquals is supposed to receive only progress data types (and not Java native int). Notice the missing wrapping in a integer constructor of the second argument. This happens because of missing the chp_wrapper annotation.

We traced the problem to the typelist annotation not emitting but we soon realized that there is a need for a enhanced processing of builtin classes/methods. We need to emit the typelist and param_modes annotations at the AST definition node for the builtin method and a way to resolve the "refid" for builtin class methods (via tempidx-file and associated annotations).

#2 Updated by Greg Shah about 1 year ago

  • Project changed from FWD to Base Language

Also available in: Atom PDF