[Lazarus] Code completion on specialized generic TFPGList
Torsten Bonde Christiansen
tc at epidata.info
Wed Aug 20 14:32:32 CEST 2014
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-ide.org/pipermail/lazarus/attachments/20140820/f6fb4d0a/attachment-0002.html>
More information about the Lazarus
mailing list