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

Improvement: Keep assignments on one line too #17

Merged
merged 9 commits into from
Oct 16, 2019

Conversation

dansanduleac
Copy link
Contributor

Before this PR

#77 made initializers in (variable, field) declarations more compact, but didn't do the same for assignments to existing variables or fields.

After this PR

==COMMIT_MSG==
Inline prefix of initializer for variable and field assignments too, not just declarations.
==COMMIT_MSG==

Possible downsides?

@policy-bot policy-bot bot requested a review from uschi2000 October 14, 2019 14:12
@dansanduleac dansanduleac requested review from ferozco and removed request for uschi2000 October 14, 2019 14:12
@ferozco
Copy link
Contributor

ferozco commented Oct 14, 2019

👍

@dansanduleac dansanduleac changed the title Improvement: Keep assignments on one line too Keep assignments on one line too Oct 16, 2019
@dansanduleac dansanduleac changed the title Keep assignments on one line too Improvement: Keep assignments on one line too Oct 16, 2019
@dansanduleac dansanduleac merged commit 7aa8308 into develop Oct 16, 2019
@dansanduleac dansanduleac deleted the ds/assignments-too branch October 16, 2019 13:20
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.

None yet

2 participants