Compiler doesn't support generic of generic
Original Reporter info from Mantis: Eric
-
Reporter name: Eric Grange
Original Reporter info from Mantis: Eric
- Reporter name: Eric Grange
Description:
Following code in steps to reproduce gives:
Fatal: Syntax error, ">" expected but "<" found
in the last '<' of the TGenericOfGeneric&LtPos;T> declaration.
Steps to reproduce:
program Project1;
{$mode delphi}
type
TGeneric<T> = class end;
TCollection<T> = class end;
TGenericOfGeneric<T> = class(TCollection<TGeneric<T>>)
end
begin
end.
Mantis conversion info:
- Mantis ID: 22755
- OS: Windows
- Build: 2012-08-30 Lazarus daily
- Version: 2.7.1
- Monitored by: » Eric (Eric Grange)