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 into
masterfrom
set-value-try-precedence
Closed

dwrensha wants to merge 1 commit into
masterfrom
set-value-try-precedence

Conversation

@dwrensha

@dwrensha dwrensha commented Dec 8, 2022

Copy link
Copy Markdown
Member

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

kim-em commented Dec 12, 2022

Copy link
Copy Markdown
Contributor

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

bors Bot commented Dec 12, 2022

Copy link
Copy Markdown

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