* * *

Author Topic: [DUPLICATE] Codetools bug with Generics.Collections?  (Read 381 times)

Eugene Loza

  • Hero Member
  • *****
  • Posts: 542
    • My "almost daily" development blog
[DUPLICATE] Codetools bug with Generics.Collections?
« on: November 25, 2017, 09:48:40 pm »
Thanks to @michaliskambi I see this issue has already been reported. So it's duplicate.

program Project1;
uses Generics.Collections;

  TObjList = specialize TObjectList<TObject>;

  List: TObjList;

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


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.
« Last Edit: November 25, 2017, 09:55:13 pm by Eugene Loza »
Lazarus 1.9 + FPC 3.1.1 Debian Jessie 64 bit.

My Free and Open Source games in Lazarus/FreePascal/CastleGameEngine:
(and some ancient games in Turbo Pascal too)
Sources are here: https://github.com/eugeneloza?tab=repositories



Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus