Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Code Completion    [ Add a report in this area ]  
Report #:  81488   Status: Closed
Code completion fails with overloaded procedures
Project:  Delphi Build #:  11.0.2902.10471
Version:    11.2 Submitted By:   Georgi Slavov
Report Type:  Basic functionality failure Date Reported:  1/25/2010 9:02:15 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   274656
Resolution: Duplicate (Resolution Comments) Resolved in Build: : 15.0.3868.33394
Duplicate of:  57030
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
In the following scenario the overloaded methods are not shown in the code completion.

type TMyClass = class
  public
    procedure testMethod ( var lw  : longword ); overload;
    procedure testMethod ( var i64 : int64    ); overload;
end;

The method "testMethod" is not shown in the code completion window. If the parameter is removed or its data type is changed to string in the one of the function then the code completion works fine and shows the method.
The source code is compiled and linked as expected, the functions are called depending on the data typ of the var parameter.
Steps to Reproduce:
None
Workarounds
unknown, none
Attachment
None
Comments

Tomohiro Takahashi at 1/25/2010 5:24:21 PM -
Is your issue same as QC#57030 or QC#47274 ?

Server Response from: ETNACODE01