[Lazarus: CodeTools] Find Procedure Definition in Mode Delphi + Generics not working
Original Reporter info from Mantis: africanwilddog
-
Reporter name: African Wild Dog
Original Reporter info from Mantis: africanwilddog
- Reporter name: African Wild Dog
Description:
Find Procedure Definition (default shortcut: Ctrl + Shift + Up) fails in mode delphi when using generic classes.
Steps to reproduce:
- Copy the following code into editor:
===== CODE BEGIN =====
program editor_error;
{$mode delphi}{$H+}
type
{ TGenericClass }
TGenericClass<T> = class
public
procedure Foo;
end;
procedure TGenericClass<T>.Foo;
begin
end;
begin
end.
===== CODE END =====
- Try to use the Find Procedure Definition (default shortcut: Ctrl + Shift + Up) in the method TGenericClass&LtPos;T>.Foo. You will get the error: "expected ., but Foo found".
Mantis conversion info:
- Mantis ID: 33615
- Version: 1.8.2
- Fixed in revision: 57732 (#4e7156c0)