Is this a bug or intended behavior? I can call it like Test.DoThis but it seems
like overloading should work.
{$mode objfpc}
program test;
type
THelper = class helper for TObject
procedure DoThis; overload;
end;
procedure DoThis (param: string); overload;
begin
end;
procedure THelper.DoThis;
begin
DoThis('string'); // <——— ERROR: Wrong number of parameters specified for
call to "DoThis"
end;
begin
end.
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal