Project

General

Profile

Feature #5113

implement c'tor overloading for cases where type erasure is an issue

Added by Greg Shah about 3 years ago. Updated almost 2 years ago.

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

100%

billable:
No
vendor_id:
GCD

Related issues

Related to Base Language - Feature #4373: finish core OO 4GL support New
Related to Base Language - Feature #4350: method overload when they differ by a temp-table, dataset, buffer or object or extent or parameter modes WIP

History

#1 Updated by Greg Shah about 3 years ago

Marian asks:

How do you plan to handle the erasure issue with ctor's - normally a JsonArray should have ctor with both array of JsonObject or JsonArray but there can only be one method with object[]?

Some more details on the problem can be found in #3751-493.

The plan to be implemented in this task:

  • At conversion time, implement a form of naming modification that provides for this overloading, similar to how we handle overloading of extent cases or parameter modes.
  • Modify the runtime support to call the proper method name.

#2 Updated by Greg Shah about 3 years ago

#3 Updated by Greg Shah about 3 years ago

  • Related to Feature #4350: method overload when they differ by a temp-table, dataset, buffer or object or extent or parameter modes added

#4 Updated by Greg Shah almost 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Rejected

This work is included with #4350.

Also available in: Atom PDF