Skip to content

Add parentheses when needed to convert let _ = expr to expr != nil. #647

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

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

allevato
Copy link
Member

@allevato allevato commented Oct 3, 2023

Parens are required if expr is a try expression, a ternary expression, or an infix operator expression whose operator has lower precedence than !=.

Parens are required if `expr` is a `try` expression, a ternary expression,
or an infix operator expression whose operator has lower precedence than
`!=`.
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.

1 participant