Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi Prism/IDE/Code Editor    [ Add a report in this area ]  
Report #:  77928   Status: Open
Override added to interface implementations
Project:  Embarcadero Prism Build #:  Many
Version:    1.1 Submitted By:   Bill Fruit
Report Type:  Basic functionality failure Date Reported:  9/22/2009 8:19:20 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   273010
Resolution: Need More Info (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
If you are typing the code below and type a "q" after the "E" in the "method E" line, code completion kicks in and gives you the line

method Equals(x, y: T): System.Boolean; override;

But it isn't an override -- it is the implementation of an interface definition.

Upon more study, the override only appears when using generics -- if it is a "normal" interface and class, you don't get the override added.
Steps to Reproduce:
Type the described code into the IDE...
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 9/22/2009 8:58:08 PM -
Could you please attach sample project to reproduce your issue?

Server Response from: ETNACODE01