Skip to content

Conversation

@hamishknight
Copy link
Contributor

Make sure we look through a wrapping OptionalEvaluationExpr and its injections when looking for an assignment to mark a valid if/switch source expression.

rdar://109305454
Resolves #65906

Make sure we look through a wrapping
`OptionalEvaluationExpr` and its injections when
looking for an assignment to mark a valid if/switch
source expression.

rdar://109305454
@hamishknight
Copy link
Contributor Author

@swift-ci please test

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.

if/switch expressions aren't allowed with an optional chain assignment

2 participants