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

libnixf: change extra-{rec,with} diagnostics to warning #564

Merged
merged 2 commits into from
Aug 2, 2024

Conversation

Aleksanaa
Copy link
Collaborator

Because if you don’t remove such unnecessary patterns in time, you may make subtle mistakes later

@Aleksanaa Aleksanaa requested a review from inclyc as a code owner August 1, 2024 12:52
"message": "unused `with` expression",
},
{
"sname": "sema-escaping-with",
"cname": "EscapingWith",
"severity": "Hint",
"severity": "Warning",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep sema-escaping-with to "Hint", this diagnostic seems to be too pedantic.

Copy link
Member

@inclyc inclyc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@inclyc inclyc merged commit d938026 into nix-community:main Aug 2, 2024
19 checks passed
@inclyc inclyc changed the title libnixf: change extra-{rec,with},escaping-with diagnostics to warning libnixf: change extra-{rec,with} diagnostics to warning Aug 2, 2024
@inclyc inclyc added enhancement New feature or request libnixf:sema Semantic analysis in libnixf labels Aug 7, 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 libnixf:sema Semantic analysis in libnixf
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants