Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Irame opened this issue Oct 27, 2021 · 1 comment

Comments

@Irame
Copy link

Irame commented Oct 27, 2021

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 added a commit to Irame/DelphiAST that referenced this issue Oct 27, 2021
Irame added a commit to Irame/DelphiAST that referenced this issue Oct 27, 2021
Irame added a commit to Irame/DelphiAST that referenced this issue Oct 27, 2021
Irame added a commit to Irame/DelphiAST that referenced this issue Oct 28, 2021
Irame added a commit to Irame/DelphiAST that referenced this issue Oct 28, 2021
@bogdanpolak
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants