[fpc-pascal] Problems with generics

Micha Nelissen micha at neli.hopto.org
Sun Dec 30 07:32:22 CET 2007


bartek wrote:
>                 function HashOf(const Key: ShortString): DWord;
> 
>                 function BucketNodeOf(const Hash: DWord): TBucket.PNode;
> DataContainers.pp(104,66) Fatal: Syntax error, ";" expected but "." found

I'd say this is a bug, and your syntax is correct. Update the existing
bug report, perhaps?

Micha



More information about the fpc-pascal mailing list