Skip to content

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

@keith

Description

@keith
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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions