In fcl-passrc, PasWriter.WriteModule is unable to show default parameter values in procedure/function declarations
In fcl-passrc, PasWriter.WriteModule is unable to show default parameter values in procedure/function declarations.
For example, with the following unit
unit Prog;
{$Mode ObjFpc}{$H+}
interface
procedure Proc(X : integer=5);
implementation
procedure Proc(X: integer=5);
begin
end;
end.
PasWriter.WriteModule gives the following output:
unit Prog;
interface
procedure Proc(X: Integer);
implementation
procedure Proc(X: Integer);
begin
end;
end.
See attached zip archive to reproduce. test.zip