DelphiAST icon indicating copy to clipboard operation
DelphiAST copied to clipboard

Error when assigning a initial value to generic "global" variable in a specific way.

Open Irame opened this issue 4 years ago • 1 comments

For the following valid Delphi code:

VAR List: TList<Integer>= nil;

you get the error: 'Greater' expected found '>='

The important thing is >= of course. You don't get the error if you just put a space in between those two symbols:

VAR List: TList<Integer> = nil;

Irame avatar Oct 27 '21 10:10 Irame

I added comment in the #318. Same here: @RomanYankovsky time to close that issue

bogdanpolak avatar Jun 08 '22 12:06 bogdanpolak