[fpc-devel]The "Duplicate Identifier" in classes and interfaces
Michael Van Canneyt
michael.vancanneyt at wisa.be
Wed Apr 2 15:57:47 CEST 2003
On Wed, 2 Apr 2003, Ivan Shikhalev wrote:
> There is error "duplicate identifier" when a parameter name of some method
> of class or interface is same as name of any property. It is present in mode
> OBJFPC, but is not in mode DELPHI.
> 1. What is a reason for this constraint in OBJFPC mode?
Because we consider it bad coding. It creates confusion.
But since Delphi allows it, it is allowed in Delphi compatibility mode.
More information about the fpc-devel