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

set-related false positive rejection. #58

Open
modulovalue opened this issue Oct 19, 2023 · 1 comment
Open

set-related false positive rejection. #58

modulovalue opened this issue Oct 19, 2023 · 1 comment

Comments

@modulovalue
Copy link

void main() {
  final set = 0;
  set;
}

The grammar appears to reject this program, but a single identifier named "set" is a valid expression.

@TimWhiting
Copy link
Collaborator

Yeah, set / get has always been tricky. I really don't have the time to look into this, but feel free to make a PR, I'm pretty good at getting to those.

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