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

FormalParameter field shadowing with local vars #286

Open
pwrightcertinia opened this issue Sep 3, 2024 · 0 comments
Open

FormalParameter field shadowing with local vars #286

pwrightcertinia opened this issue Sep 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pwrightcertinia
Copy link
Contributor

We have validation for local variables shadowing fields, but not for method parameters. Sub/parent types can be affected by this so maybe not as straightforward to warn about. Think we already have errors for locals shadowing params.

See Local var validation vs Param validation

@pwrightcertinia pwrightcertinia added the enhancement New feature or request label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant