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

Incorrect error for &ref operator #372

Closed
Lexikos opened this issue Aug 29, 2023 · 0 comments
Closed

Incorrect error for &ref operator #372

Lexikos opened this issue Aug 29, 2023 · 0 comments

Comments

@Lexikos
Copy link

Lexikos commented Aug 29, 2023

"Unknown operator use" is shown when the ref operator is not being passed as a parameter, but this is perfectly valid:

a := &b  ; & has a red squiggly
MsgBox a = &b  ; 1

I also get a warning that "Variable 'v' appears to never be assigned a value" in cases like the following, but it seems to come and go after making unrelated modifications to other files.

r := &v
%r% := 1

I assume that if you recognize &v as the ref operator, the warning will also go away.

thqby added a commit that referenced this issue Aug 30, 2023
@thqby thqby closed this as completed Sep 2, 2023
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