[fpc-devel] Library announcement: Generics.Collections
Sven Barth
pascaldragon at googlemail.com
Thu May 23 13:24:42 CEST 2013
Am 23.05.2013 12:59, schrieb Marco van de Voort:
> In our previous episode, Sven Barth said:
>>> https://code.google.com/p/fpc-generics-collections/
>>>
>>> SVN
>>>
>>> http://fpc-generics-collections.googlecode.com/svn/trunk/
>>>
>> Nice. Now I know where all those bug reports come from :P
> While playing a bit with this code using some minor stuff I have on top of
> delphi containers, I noticed something small:
>
> TList<T> obscures TList if generics.collections is imported after
> classes. It doesn't in Delphi. I used tthreadlist in generics.collections
> using code, and needed to declare a local (normal) tlist for it.
Yes, cross unit "type overloading" is still a problem in FPC. I've done
some preparations to solve this (the compiler now keeps track whether a
symtable contains a generic), but I've yet to implement the final lookup
system for this.
> The code itself didn't compile because of a lot of not really clear "gendef"
> errors.
I already have fixed the gendef problems you reported locally, but I
need to find the time to write a nice commit message, because I've
changed the complete implementation of constraints.
Regards,
Sven
More information about the fpc-devel
mailing list