Skip to content

Avoid un-setting bracket flag in logical lines - #8380

Merged
charliermarsh merged 1 commit into
mainfrom
charlie/set
Oct 31, 2023
Merged

charliermarsh merged 1 commit into
mainfrom
charlie/set

Conversation

@charliermarsh

Copy link
Copy Markdown
Member

Summary

By using set, we were setting the bracket flag to false if another operator was visited.

Closes #8379.

Test Plan

cargo test

@charliermarsh charliermarsh added the bug An issue describing something that isn't working, or a PR that fixes a bug label Oct 31, 2023
@github-actions

Copy link
Copy Markdown
Contributor

PR Check Results

Ecosystem

✅ ecosystem check detected no linter changes.

@charliermarsh
charliermarsh merged commit 23ed4e9 into main Oct 31, 2023
@charliermarsh
charliermarsh deleted the charlie/set branch October 31, 2023 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue describing something that isn't working, or a PR that fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E211 fails to trigger in common cases

1 participant