[Lazarus] IDE trunk cannot build on fpc 3.0.2

Juha Manninen juha.manninen62 at gmail.com
Tue Feb 25 19:45:34 CET 2020


On Tue, Feb 25, 2020 at 8:05 PM AlexeyT via lazarus <
lazarus at lists.lazarus-ide.org> wrote:

> pkgmanager.pas(77,78) Error (5000) Id not found TObjectArray$2
>

The line is:
  TPackagePackageArray = specialize TObjectArray<TLazPackageID,
TLazPackageID>;

I turned TObjectArray into a generics container to reduce typecasts.
It uses a very basic syntax, similar to what unit fgl has used for ages.
  generic TObjectArray<TItem, TObj> = class

Does "TObjectArray$2" mean the compiler does not find the second parameter?
Why wouldn't it? Both parameters are the same "TLazPackageID".

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200225/57694f43/attachment.html>


More information about the lazarus mailing list