Forum > Editor

[DUPLICATE] Codetools bug with Generics.Collections?

(1/1)

Eugene Loza:
Thanks to @michaliskambi I see this issue has already been reported. So it's duplicate.

program Project1;
uses Generics.Collections;

type
  TObjList = specialize TObjectList<TObject>;

var
  List: TObjList;

begin
  List := TObjList. <-------------- when I start typing "a dot" it shows error instead of hint/autocomplete

end.


generics.collections.pas(81,26) Error: identifier expected, but ( found
or sometimes:
generics.collections.pas(81,27) Error: expected end., but TCustomArrayHelper found

Everything compiles fine. Just CodeTools stop working (displaying hints, or allowing ctrl+clicks and other useful stuff). Affects only the unit, where Generics.Collections is used.

Lazarus 1.9 + FPC 3.1.1 / Debian Jessie 64 bit.

Navigation

[0] Message Index

Go to full version