Skip to content

[Merged by Bors] - fix: add parens so that sequences works as expected in setValue#914

Closed
dwrensha wants to merge 1 commit intomasterfrom
set-value-try-precedence
Closed

[Merged by Bors] - fix: add parens so that sequences works as expected in setValue#914
dwrensha wants to merge 1 commit intomasterfrom
set-value-try-precedence

Conversation

@dwrensha
Copy link
Copy Markdown
Member

@dwrensha dwrensha commented Dec 8, 2022

Followup to #908.

Apparently <;> (in addition to plain ;) has higher precedence than try.
Adding parentheses restores the expected behavior.

This isn't the first time we've been tripped up by unexpected precedence in the sequencing operators. See e.g. #370 (comment)

@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Dec 12, 2022

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Dec 12, 2022
bors bot pushed a commit that referenced this pull request Dec 12, 2022
Followup to #908.

Apparently `<;>` (in addition to plain `;`) has higher precedence than `try`.
Adding parentheses restores the expected behavior.

This isn't the first time we've been tripped up by unexpected precedence in the sequencing operators. See e.g. #370 (comment)
@bors
Copy link
Copy Markdown

bors bot commented Dec 12, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title fix: add parens so that sequences works as expected in setValue [Merged by Bors] - fix: add parens so that sequences works as expected in setValue Dec 12, 2022
@bors bors bot closed this Dec 12, 2022
@bors bors bot deleted the set-value-try-precedence branch December 12, 2022 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants