Property Overloading
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
THashTable = class
...
property Items[const Key: TObject] ...
property Items[const Key: string] ...
...
end;
Compiling anything of the above form gives "duplicate identifier" error. It would be nice to be able to define properties of same name but with different parameter/result data types some way, maybe with overload keyword or something.
Additional information:
Reporter: Michael K
EMail: technobot at lycos dot co dot uk
Mantis conversion info:
- Mantis ID: 4907
- OS: All
- Version: 1.0.10