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

FS1182 doesn't produce warnings for class members even being in WarnOn #15636

Closed
psfinaki opened this issue Jul 19, 2023 · 2 comments
Closed

Comments

@psfinaki
Copy link
Member

psfinaki commented Jul 19, 2023

See this:
image

The diag is reported for the first let function, but it isn't for the second let expression, for the use expression within it, and for the member. However, the diag is produced for all cases (hence the code fixes are available as well) so there is something there, just not reported by the compiler somehow.

This blocks this bug a bit make that one hard to unit test.

@github-actions github-actions bot added this to the Backlog milestone Jul 19, 2023
@psfinaki
Copy link
Member Author

Same goes for this in type C() as this = class end.

@psfinaki
Copy link
Member Author

Closing, this is most probably related to the analyzers' job. The test framework for code fixes has to be adjusted therefore.

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

No branches or pull requests

1 participant