<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="monospace">Hi all.<br>
<br>
When I use code completion (</font><font face="monospace"><font
face="monospace">Ctrl+Shift+</font>C) on an object of a
specialized class (eg. TFPGList)<br>
the generated variable is always writte as type "generic".<br>
<br>
See the code below:<br>
<br>
============================<br>
program Project1;<br>
{$mode objfpc}{$H+}<br>
<br>
uses<br>
Classes, fgl;<br>
<br>
type<br>
TMyList = specialize TFPGList<Integer>;<br>
<br>
begin<br>
MyList := TMyList.Create;<br>
end.<br>
</font><font face="monospace"><font face="monospace"> ============================<br>
</font><br>
If I place the cursor at "MyList" and press Ctrl+Shift+C, a var
section is created like this:<br>
<br>
var<br>
MyList: generic;<br>
<br>
I think this is a bug, as the resulting code is not valid (in any
mode).<br>
<br>
Regards,<br>
Torsten Bonde Christiansen.<br>
</font>
</body>
</html>