In fcl-passrc, GetDeclaration does not correctly show generic type declaration with restrictions
GetDeclaration does not correctly show generic type declaration with restrictions.
For example:
generic MyRec<T : TObject; U : TAggregatedObject>=record
Att1 : T;
Att2 : U;
end;
is shown as follows:
TPasRecordType MyRec<T:: ,U:: > = record
Att1 : T;
Att2 : U;
end
See attached archive to reproduce.test.zip
Edited by simone