Is the keyword "generic" really needed here:

type generic TEnumerator<TValue, TIterator> = class

- should be -

type TEnumerator<TValue, TIterator> = class

It looks completely unnecessary and I've never seen a situation in pascal
where anything but an identifier follows the keyword type. Whomever came up
with the idea was probably more interested in making the feature easy to
implement in the compiler rather than more natural for pascal programmers.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to