Skip to content

[global-string-table] Fix for ownership. #27484

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

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented Oct 2, 2019

This involves teaching the constant folder to look through a borrow when trying
to find the string literal. I also added an additional run with ownership
lowering after diagnostics enabled to make sure this doesn't break again.

This involves teaching the constant folder to look through a borrow when trying
to find the string literal. I also added an additional run with ownership
lowering after diagnostics enabled to make sure this doesn't break again.
@gottesmm gottesmm requested a review from ravikandhadai October 2, 2019 04:19
@gottesmm
Copy link
Contributor Author

gottesmm commented Oct 2, 2019

The test is that with this option enabled, we emit the same diagnostics. I already fixed the rest of the test cases here but this was added after I did so. Now that I can migrate the -Onone tests over, I can make sure it doesnt break again.

@gottesmm
Copy link
Contributor Author

gottesmm commented Oct 2, 2019

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 88ecae4 into swiftlang:master Oct 2, 2019
@gottesmm gottesmm deleted the pr-54e65bb7df68949c5e764280c80e21c6f3711062 branch October 2, 2019 14:15
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