Skip to content

[C++ interop] Fix reflection info compiler crash. #26438

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
Aug 1, 2019

Conversation

pschuh
Copy link
Contributor

@pschuh pschuh commented Jul 31, 2019

When a c++ namespace IRGens for reflection, it triggers a path that expects the namespace to have a particular form. Because it is always empty, we can treat it just like an empty swift enum.

@pschuh pschuh requested review from jrose-apple and xymus July 31, 2019 20:52
@pschuh
Copy link
Contributor Author

pschuh commented Aug 1, 2019

@swift-ci please test and merge

When a c++ namespace IRGens for reflection, it triggers a path that
expects the namespace to have a particular form. Because it is always
empty, we can treat it just like an empty swift enum.
@pschuh
Copy link
Contributor Author

pschuh commented Aug 1, 2019

@swift-ci please test

@swift-ci
Copy link
Contributor

swift-ci commented Aug 1, 2019

Build failed
Swift Test Linux Platform
Git Sha - baa793a791c9b1e5216b69805681f2ac5d569e59

@swift-ci
Copy link
Contributor

swift-ci commented Aug 1, 2019

Build failed
Swift Test OS X Platform
Git Sha - baa793a791c9b1e5216b69805681f2ac5d569e59

@pschuh pschuh merged commit 34bfeb4 into swiftlang:master Aug 1, 2019
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