SmartHint does not work for generic specialized types
Original Reporter info from Mantis: Penilopa P
-
Reporter name: Anton
Original Reporter info from Mantis: Penilopa P
- Reporter name: Anton
Description:
There is no hint at all when hover the mouse cursor over the variable of a generic type. See code sample in Steps.
The reason: ProceedWithSmartHint (finddeclarationtool.pas:~3005) tries to find declaration of "specialize" keyword that results in CT exception.
Identifier completion works as expected.
Steps to reproduce:
procedure TForm1.FormCreate(Sender: TObject);
type
t = specialize TFPGList<Integer>; { from "fgl" unit }
var
list: t; // <<- hover "list"
begin
end;
Mantis conversion info:
- Mantis ID: 29860
- Build: r51996
- Version: 1.7 (SVN)