In fcl-passrc, TPasElement.GetDeclaration does not display correctly type aliases declarations with basic types
The fix applied to solve the closed #issue 41135 has produced a regression in GetDeclarations, that arises with type alisases declaration with basic types.
For example, with the following program:
unit test;
{$Mode ObjFpc}{$H+}
interface
type
TT=type integer;
implementation
end.
GetDeclaration function gives the following result:
TT = type
See attached archive to reproduce. test.zip
Edited by simone