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

Allow defer statements to be cuddled if used two lines above #133

Merged
merged 2 commits into from
Jun 8, 2023

Conversation

bombsimon
Copy link
Owner

This is an extension of allowing defer calls to Close to now be valid for any name and usage. This new rule will only be applied if there's exactly three statements grouped.

Resolves #85

bombsimon added 2 commits May 28, 2023 23:00
This is an extension of allowing defer calls to `Close` to now be valid
for any name and usage. This new rule will only be applied if there's
exactly three statements grouped.

Resolves #85
@bombsimon bombsimon force-pushed the defer-stmt-before-previous branch from 67997e4 to 7edb3ef Compare May 28, 2023 21:02
@bombsimon bombsimon merged commit 7e1066c into master Jun 8, 2023
@bombsimon bombsimon deleted the defer-stmt-before-previous branch June 8, 2023 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow defer after error-handling part
1 participant