Hi all.
When I use code completion (Ctrl+Shift+C) on an object of a specialized class (eg. TFPGList)
the generated variable is always writte as type "generic".
See the code below:
============================
program Project1;
{$mode objfpc}{$H+}
uses
Classes, fgl;
type
TMyList = specialize TFPGList<Integer>;
begin
MyList := TMyList.Create;
end.
============================If I place the cursor at "MyList" and press Ctrl+Shift+C, a var section is created like this:
var
MyList: generic;I think this is a bug, as the resulting code is not valid (in any mode).
Regards,
Torsten Bonde Christiansen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140820/f6fb4d0a/attachment.html>
