Skip to content
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

[SR-13959] Protocol conformance in other module not present in sourcekit index #56356

Open
keith opened this issue Dec 11, 2020 · 1 comment
Open
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@keith
Copy link
Collaborator

keith commented Dec 11, 2020

Previous ID SR-13959
Radar rdar://problem/72302316
Original Reporter @keith
Type Bug

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: 5c795e4cf29c74cde6bc0db1eeece4df

Issue Description:

When you conform to a protocol on a type from another module, the import of the module that defines the conformance is required, but no reference to that is present in the sourcekit index (or with cursor info) so it's impossible to tell from tooling whether or not that import is required.

Attached is a repro case where you must build, then run `./repro.sh` (sourcekitd-test must be in your PATH).

@typesanitizer
Copy link

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

2 participants