Skip to content

Fix an EscapeAnalysis assert to handle recent changes. #29527

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
Jan 29, 2020
Merged

Fix an EscapeAnalysis assert to handle recent changes. #29527

merged 1 commit into from
Jan 29, 2020

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Jan 29, 2020

setPointsToEdge should assert that its target isn't already merged,
but now that we batch up multiple merge requests, it's fine to allow
the target to be scheduled-for-merge.

Many assertions have been recently added and tightened in order to
"discover" unexpected cases. There's nothing incorrect about how these
cases were handled, but they lack unit tests. In this case I still
haven't been able to reduce a test case. I'm continuing to work on
it, but don't want to further delay the fix.

setPointsToEdge should assert that its target isn't already merged,
but now that we batch up multiple merge requests, it's fine to allow
the target to be scheduled-for-merge.

Many assertions have been recently added and tightened in order to
"discover" unexpected cases. There's nothing incorrect about how these
cases were handled, but they lack unit tests. In this case I still
haven't been able to reduce a test case. I'm continuing to work on
it, but don't want to further delay the fix.
@atrick atrick requested a review from eeckstein January 29, 2020 07:01
@atrick
Copy link
Contributor Author

atrick commented Jan 29, 2020

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 7710ee8 into swiftlang:master Jan 29, 2020
@atrick atrick deleted the fix-escape-assert branch January 29, 2020 18:03
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.

3 participants