[Lazarus] Nested Classes used as Namespace Issue
Paul Ishenin
webpirat at mail.ru
Mon Jan 10 07:45:53 CET 2011
10.01.2011 11:43, Andrew Brunner wrote:
> type
> ns=class
> Type
> Vendor=class
> Const
> id = "ITMID';
> Size = 'ITMSIZE';
> Type
> PVendor=^TVendor;
> TVendor=record
> ID : Int64;
> Size : Integer;
> end;
> class procedure Foo();
> end;
> Supplier=class
> // example
> class procedure Foo();
> end;
> end;
> end;
>
> Neither ns.Supplier.Foo() nor ns.Vendor.Foo() will not jump to the
> actual code in Lazarus IDE. It kind of muddles nested classes (as
> namespaces) that FPC supports. Is this on someones list of todos?
Codetools does not recognise the nested class syntax yet. There was
already a feature request.
Best regards,
Paul Ishenin
More information about the Lazarus
mailing list