Skip to content

Patch assignment#1454

Merged
Janther merged 4 commits intomainfrom
patch-assignment
Mar 12, 2026
Merged

Patch assignment#1454
Janther merged 4 commits intomainfrom
patch-assignment

Conversation

@Janther
Copy link
Copy Markdown
Member

@Janther Janther commented Mar 12, 2026

I just bumped into this scenario where the right side of an assignment is a TupleExpression.
Prettier would just remove this but in solidity we haven't reviewed deeply this scenario so we just keep it.
It just makes sense that it should be in the same line of the equal.

Since this is a quick patch I also put the new version in this PR

@Janther Janther requested a review from fvictorio March 12, 2026 02:05
Copy link
Copy Markdown
Member

@fvictorio fvictorio left a comment

Choose a reason for hiding this comment

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

I think it makes sense to keep them if we aren't 100% sure.

@Janther Janther merged commit fe32e08 into main Mar 12, 2026
7 checks passed
@Janther Janther deleted the patch-assignment branch March 12, 2026 12:30
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.

2 participants