Skip to content

[ClangImporter] Break infinite recursion when failing to import. #9253

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

jrose-apple
Copy link
Contributor

Cherry-pick of #9246 to swift-4.0-branch.

…ftlang#9246)

Fixes a bug in cb9b9ea where a compatibility typealias for a type
that's been import-as-member'd can't resolve the member, because we're
already in the middle of importing members of the enclosing type.

No tests at the moment because I want to get this in quickly, but also
because the real issue is still there: this should import
successfully.

rdar://problem/31921746
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

swift-ci commented May 4, 2017

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - b3c7ced
Test requested by - @jrose-apple

@jrose-apple
Copy link
Contributor Author

@swift-ci Please test Linux

@jrose-apple jrose-apple merged commit d195f00 into swiftlang:swift-4.0-branch May 4, 2017
@jrose-apple jrose-apple deleted the 4.0-if-at-first-you-do-not-succeed-oh-wait branch May 4, 2017 02:24
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