Project

General

Profile

Bug #5691

deviation in error generation for invalid method/property chaining

Added by Greg Shah over 2 years ago. Updated over 2 years ago.

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

0%

billable:
No
vendor_id:
GCD
case_num:

Related issues

Related to Base Language - Feature #4384: Builtin OO Implementation Closed
Related to Base Language - Feature #4373: finish core OO 4GL support New

History

#1 Updated by Greg Shah over 2 years ago

From Marian in #4384-577:

When chaining method/properties access on an invalid object in 4GL there are two errors being throw, beside the #3135 (invalid object) that is being thrown by FWD (when accessing the object's ref)there is also the #10068 (lead attributes in a chained-attribute expression must be type handle or a user defined type and valid).

DEF VAR o AS OpenEdge.Core.String.

o:Clone():ToString() NO-ERROR.
MESSAGE error-status:NUM-MESSAGES SKIP error-status:GET-MESSAGE(1)
SKIP error-status:GET-MESSAGE(2)VIEW-AS ALERT-BOX.

#2 Updated by Greg Shah over 2 years ago

#3 Updated by Greg Shah over 2 years ago

Also available in: Atom PDF