Mike Torrettinni 198 Posted August 19, 2022 I noticed a difference how code completion shows types in some cases. Here I have example of difference between types for variables and arguments: Especially for TLst to shows as class(class(TObject) is quite different than TList<integer>. In some of my code, that I can't replicate, the type for TArray<TRec> is shown as array of TRec. Not a big deal, I guess. I would expect in D11 that TArray and TList would resolve correctly, as defined. Or is this behavior correct and code completion works as expected, I just don't have the knowledge to understand it? Test code: program Project1; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils, System.Generics.Collections; type TRec = record end; TArr = TArray<TRec>; TArrInt = TArray<integer>; TLst = TList<TRec>; TLstInt = TList<integer>; procedure Test(arr: TArr; lst: TLst); begin end; var xArr: TArr; xArrInt: TArrInt; xLst: TLst; xLstInt: TLstInt; begin //Test( end. Share this post Link to post