[Lazarus] Nested Classes used as Namespace Issue

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Feb 11 17:15:35 CET 2011


On Sun, 9 Jan 2011 22:43:23 -0600
Andrew Brunner <andrew.t.brunner at gmail.com> 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?

Should work now.

Mattias




More information about the Lazarus mailing list