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

Format else with no braces consistently with if else and if. #245

Closed
belav opened this issue May 31, 2021 · 0 comments · Fixed by #306
Closed

Format else with no braces consistently with if else and if. #245

belav opened this issue May 31, 2021 · 0 comments · Fixed by #306
Labels
area:formatting type:bug Something isn't working

Comments

@belav
Copy link
Owner

belav commented May 31, 2021

        if (true) DoSomething();
        else if (false) DoSomething();
        else
            DoSomething;
// should be
        if (true) DoSomething();
        else if (false) DoSomething();
        else DoSomething;
@belav belav added type:bug Something isn't working area:formatting labels May 31, 2021
belav added a commit that referenced this issue Jun 14, 2021
belav added a commit that referenced this issue Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:formatting type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant