Skip to content

[CS] Better handle null in BuilderClosureRewriter #38706

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
Jul 30, 2021

Conversation

hamishknight
Copy link
Contributor

There were a couple of places where we weren't handling a nullptr return from one of the visitor methods. Change the methods to return NullablePtr and add the missing null checks.

rdar://81228221

There were a couple of places where we weren't
handling a nullptr return from one of the visitor
methods. Change the methods to return NullablePtr
and add the missing null checks.

rdar://81228221
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight requested a review from xedin July 30, 2021 17:14
@hamishknight hamishknight merged commit 043bc46 into swiftlang:main Jul 30, 2021
@hamishknight hamishknight deleted the a-game-of-draughts branch July 30, 2021 21:55
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