[Lazarus] Code completion: Error: ancestor has same name as class.

Juha Manninen juha.manninen62 at gmail.com
Sun Mar 6 10:20:51 CET 2011


Marcos Douglas kirjoitti sunnuntai 06 maaliskuu 2011 03:57:02:
> type
>   TStringList = class(Classes.TStringList)
>   public
>     function Foo: string;
>   end;

In any case your class name is very confusing. I would always use a different 
name. When someone else reads your code and sees TStringList he assumes it is 
a "normal" TStringList.

Juha




More information about the Lazarus mailing list