RomanYankovsky / DelphiAST

Abstract syntax tree builder for Delphi
Mozilla Public License 2.0
271 stars 116 forks source link

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

Open Irame opened 2 years ago

Irame commented 2 years ago

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;
bogdanpolak commented 2 years ago

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