View Issue Details

IDProjectCategoryView StatusLast Update
0038100LazarusIDEpublic2020-11-19 07:15
ReporterLuca Olivetti Assigned ToPascal Riekenberg  
Status assignedResolutionopen 
Product Version2.0.10 
Summary0038100: Code completion doesn't work with generics.collections
DescriptionI'm trying to use generics.collections instead of fgl, but code completion doesn't work.
Steps To ReproduceOpen the attached project.
In the method TForm1.Button1Click try CTRL+CLICK on FTestDict.Add (here it does nothing).
Then uncomment the line above it (FtestDict.) and try to code complete it. I get the error

Codetools, Errors: 1,49) Error: cycle detected

The project compiles and works.

Additional InformationTested with FPC3.2.0, both under win32 and linux x86_64.
TagsNo tags attached.
Fixed in Revision
Attached Files


Luca Olivetti

2020-11-18 16:08

reporter (128,616 bytes)

Luca Olivetti

2020-11-18 22:07

reporter   ~0127039

FWIW, if I use a TObjectHashMap or a TFastObjectHashMap instead of TDictionary code completion works.

Issue History

Date Modified Username Field Change
2020-11-18 16:07 Luca Olivetti New Issue
2020-11-18 16:08 Luca Olivetti File Added:
2020-11-18 22:07 Luca Olivetti Note Added: 0127039
2020-11-19 07:15 Pascal Riekenberg Assigned To => Pascal Riekenberg
2020-11-19 07:15 Pascal Riekenberg Status new => assigned