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

[Trivial] Fix whitespaces and formatting #10783

Merged
merged 6 commits into from Jun 2, 2023

Conversation

yahiheb
Copy link
Collaborator

@yahiheb yahiheb commented May 26, 2023

Can be easily reviewed with whitespace changes off:
https://github.com/zkSNACKs/WalletWasabi/pull/10783/files?diff=unified&w=1

@yahiheb yahiheb requested review from soosr and kiminuo May 26, 2023 06:08
@molnard
Copy link
Collaborator

molnard commented May 26, 2023

Dear Contributor,

Thank you for your work👍We have strict rules about code style/format changes. Please respect our policy. Feel free to reopen on the first Monday, Tuesday, and Wednesday of the month and we will be happy to review it.

Thank you for your understanding 🙏

@molnard molnard closed this May 26, 2023
@kiminuo
Copy link
Collaborator

kiminuo commented May 26, 2023

LGTM, once reopened

.FirstOrDefault(x => x.ConstantValue?.Equals(navigationArgument.Value.Value) ?? false);
var enumValue = navigationTargetEnum.GetMembers()
.OfType<IFieldSymbol>()
.FirstOrDefault(x => x.ConstantValue?.Equals(navigationArgument.Value.Value) == true);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is imho the only non-trivial change. Looks correct to me. Maybe it's a matter of style what variant to use. I don't find the former variant bad though. I'm ~0 on this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Ok then.

Still that Deep source feels useless to me. I mean I can't remember seeing it recommend something really important as its name suggests. For other things we have initializers, that are run in MSVS and one can see them immediately (which is faster to fix and we don't waste time on fixing issues once deep source finds it)

kiminuo
kiminuo previously approved these changes Jun 2, 2023
Copy link
Collaborator

@kiminuo kiminuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yahiheb yahiheb merged commit 5615dfb into zkSNACKs:master Jun 2, 2023
9 checks passed
@yahiheb yahiheb deleted the fix-whitespaces branch June 2, 2023 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants