Skip to content

[IDE][AST] Handle frameworks with traditional overlays where the underlying module declares cross imports in sourcekit #31227

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
Apr 24, 2020

Conversation

nathawes
Copy link
Contributor

We weren't handling this case, so their generated interfaces / doc info wouldn't include symbols from the cross-import overlays, and we wouldn't map the underscored cross-import overlay name back to the declaring framework's name in cusor-info, completion results or when indexing.

Resolves rdar://problem/62138551

@nathawes nathawes requested review from akyrtzi and beccadax April 23, 2020 03:31
@nathawes
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - ab4149e460293178e0c1b0727c75631bb97dead5

@nathawes
Copy link
Contributor Author

Failure seems unrelated:

Failing Tests (1):
    Swift(macosx-x86_64) :: AutoDiff/compiler_crashers_fixed/tf1232-autodiff-generated-declaration-mangling.swift

@nathawes
Copy link
Contributor Author

@swift-ci please test OS X Platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - ab4149e460293178e0c1b0727c75631bb97dead5

…rlying module declares cross imports in sourcekit.

We weren't handling this case, so their generated interfaces / doc info
wouldn't include symbols from the cross-import overlays, and we wouldn't
map the underscored cross-import overlay name back to the declaring
framework's name in cusor-info, completion results or when indexing.

Resolves rdar://problem/62138551
@nathawes nathawes force-pushed the cross-import-tooling-fixes branch from ab4149e to b7ac8f8 Compare April 23, 2020 20:04
@nathawes
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - ab4149e460293178e0c1b0727c75631bb97dead5

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - ab4149e460293178e0c1b0727c75631bb97dead5

@nathawes
Copy link
Contributor Author

@swift-ci please test Windows Platform

@nathawes
Copy link
Contributor Author

@swift-ci please test windows

@nathawes
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - b7ac8f8

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - b7ac8f8

@nathawes
Copy link
Contributor Author

@swift-ci please test Windows Platform

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