Class completion incorrectly written for interfaces
Original Reporter info from Mantis: ggeldenhuys
-
Reporter name: Graeme Geldenhuys
Original Reporter info from Mantis: ggeldenhuys
- Reporter name: Graeme Geldenhuys
Description:
I created a interface definition as show below. Note that both Getter methods are still missing.
IMVPModel = interface(IInterface)
['{85223140-B263-4413-89E3-BFA37E9D3112}']
property CommandSet: ICommandSet read GetCommandSet;
property CurrentSelection: ISelection read GetCurrentSelection;
end;
I then pressed Ctrl+Shift+c in the Lazarus editor to complete the definition. Lazarus then inserted the Getter methods above the GUID. It's not a biggy, just a little bit annoying. ;-)
IMVPModel = interface(IInterface)
function GetCommandSet: ICommandSet;
function GetCurrentSelection: ISelection;
['{85223140-B263-4413-89E3-BFA37E9D3112}']
property CommandSet: ICommandSet read GetCommandSet;
property CurrentSelection: ISelection read GetCurrentSelection;
end;
Above code should have looked as follows:
IMVPModel = interface(IInterface)
['{85223140-B263-4413-89E3-BFA37E9D3112}']
function GetCommandSet: ICommandSet;
function GetCurrentSelection: ISelection;
property CommandSet: ICommandSet read GetCommandSet;
property CurrentSelection: ISelection read GetCurrentSelection;
end;
Mantis conversion info:
- Mantis ID: 11158
- OS: Ubuntu Linux
- OS Build: 7.04
- Build: v0.9.25 r14596M i386-linux-gtk
- Platform: x86
- Version: 0.9.25 (SVN)
- Fixed in version: 0.9.25 (SVN)
- Fixed in revision: 14850 (#e11870d2)
- Target version: 1.4