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

fix(core): infinite lint loops #390

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

elijah-potter
Copy link
Collaborator

In we solved #225, but the rule we created had an issue that resulted in an infinite loop. One would "fix" a problem, but the fix would create another problem that the same rule would pick up.

This demonstrated a hole in our testing tools, which this PR aims to fill. By checking to make sure all invocations of assert_suggestion result create no new lints, we can cut down on this kind of error significantly.

By doing this in fact, we also found a bug in #376.

@elijah-potter elijah-potter added bug Something isn't working rust Pull requests that update Rust code harper-core linting labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working harper-core linting rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant