CodeTools does not parse hint-directive(deprecated)
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
Create a new application and insert a deprecated property (like in the example code).
Try code completion:
unit1.pas(16,79) Error: : expected, but ; found
Codetools believes "deprecated" is the name of an identifier (eg field)
The problem only exists, if the default keyword is used.
Additional information:
TForm1 = class(TForm)
private
{ private declarations }
public
{ public declarations }
property Items[Index: integer]: TObject read GetItems; default; deprecated;
end;
Mantis conversion info:
- Mantis ID: 15968
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.30
- Fixed in revision: 24218 (#4e55c656)
- Target version: 0.9.30