Method overloads in class interface
Original Reporter info from Mantis: henrique @henriquewerlang
-
Reporter name: henrique
Original Reporter info from Mantis: henrique @henriquewerlang
- Reporter name: henrique
Description:
When I try to compile the source below, the compiler give me the error "UnitError.pas(10,20) Error: Duplicate published method "Proc1" at UnitError.pas(9,20)".
unit UnitError;
interface
type
{$M+}
IMyInterface = interface
['{B92717D3-8D13-4059-8927-593D404F724C}']
procedure Proc1; overload;
procedure Proc1(Param1: Integer); overload;
end;
implementation
end.
Mantis conversion info:
- Mantis ID: 38127
- OS: Windows
- OS Build: 10
- Build: trunk
- Platform: Pas2Js
- Monitored by: » @henriquewerlang (henrique)