[fpc-pascal] Can't compile nested generics type

leledumbo leledumbo_cool at yahoo.co.id
Wed Jan 6 08:06:04 CET 2010


I'm using FPC 2.5.1 downloaded a few days after 2.4.0 is released, and
according to 2.4.0 changelog, nested generics type support has been done.
However, I can't manage to compile this:

type
  generic TAClass<T> = class
  type private
    TNextAClass = specialize TAClass<T>;
  end;

Do I miss something?
-- 
View this message in context: http://old.nabble.com/Can%27t-compile-nested-generics-type-tp27026798p27026798.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.




More information about the fpc-pascal mailing list