[fpc-devel] Generics are still broken

Sven Barth pascaldragon at googlemail.com
Fri May 11 22:17:05 CEST 2012


On 11.05.2012 20:10, Anthony Walter wrote:
> Okay with the latest trunk version I tried compiling my generic classes.
> It seems there is a problem with fpc generics in that you cannot use a
> generic as a type parameter. e.g type TDictionary<K,V> =
> class(TEnumerable<TPair<K,V>>) ...

Yes, this is a known problem and already on my todo list (like most 
other generic bugs...)

Regards,
Sven




More information about the fpc-devel mailing list