Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/Delphi/Errors - Warnings    [ Add a report in this area ]  
Report #:  106106   Status: Closed
Deprecated directive ignored for overloaded generic parameterized method
Project:  Delphi Build #:  XE, XE2
Version:    16.4 Submitted By:   Stefan Glienke
Report Type:  Basic functionality failure Date Reported:  6/2/2012 6:15:31 PM
Severity:    Serious / Highly visible problem Last Updated: 4/23/2013 8:13:31 AM
Platform:    All platforms Internal Tracking #:   28732
Resolution: Fixed (Resolution Comments) Resolved in Build: : XE4
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Compile project in steps -> no deprecated warning gets generated.
Steps to Reproduce:
Compile following code:

program Project1;

{$APPTYPE CONSOLE}

type
  TContainer = class
    procedure RegisterComponent<TComponentType>; overload; deprecated;
    procedure RegisterComponent(componentType: Pointer); overload; deprecated;
  end;

procedure TContainer.RegisterComponent<TComponentType>;
begin
end;

procedure TContainer.RegisterComponent(componentType: Pointer);
begin
end;

var
  Container: TContainer;
begin
  Container.RegisterComponent<TObject>;
end.
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 6/5/2012 5:46:26 PM -
This report was opened with valid Internal Tracking Number.
Thanks.

Server Response from: ETNACODE01