Skip to content

Fix borrow canonicalization bugs #38875

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 2 commits into from
Aug 16, 2021

Conversation

meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Aug 13, 2021

  • Clear internal data structures after canonicalizing function args
  • Handle nil BorrowedValue during canonicalization

Subsequent calls for borrow canonicalization will see issues if not.
@meg-gupta meg-gupta requested review from atrick, gottesmm and nate-chandler and removed request for atrick August 13, 2021 18:24
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta changed the title Clear internal data structures after canonicalizing function args Fix borrow canonicalization bugs Aug 13, 2021
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta merged commit 5d6659c into swiftlang:main Aug 16, 2021
Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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