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

Conditional in Arguments should indent. #419

Closed
belav opened this issue Aug 23, 2021 · 0 comments · Fixed by #432
Closed

Conditional in Arguments should indent. #419

belav opened this issue Aug 23, 2021 · 0 comments · Fixed by #432
Milestone

Comments

@belav
Copy link
Owner

belav commented Aug 23, 2021

When calling a method, if a conditional is an argument, it should indent like a binary expression that is an argument

            return CallMethod(
                someLongValue__________________________________________
                == someLongValue__________________________________________
                    ? 0
                    : 1,
                someLongValue__________________________________________
                    == someLongValue__________________________________________
            );
// should be
            return CallMethod(
                someLongValue__________________________________________
                    == someLongValue__________________________________________
                  ? 0
                  : 1,
                someLongValue__________________________________________
                    == someLongValue__________________________________________
            );
@belav belav added this to the 0.9.10 milestone Sep 6, 2021
@belav belav changed the title Conditional in Invocation should indent. Conditional in Arguments should indent. Sep 6, 2021
belav added a commit that referenced this issue Sep 6, 2021
shocklateboy92 added a commit that referenced this issue Sep 7, 2021
closes #419

Co-authored-by: Lasath Fernando <devel@lasath.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant