Skip to content

[SourceKit/DocSupport] List generic requirements from contextual where clauses in doc info request #30836

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

Conversation

nathawes
Copy link
Contributor

@nathawes nathawes commented Apr 6, 2020

We previously didn't report the requirements in the where clause of 'boxes' below because it didn't have generic parameters of its own:

public struct Box<Wrapped> {
    public func boxes() -> [Box<Wrapped.Element>] where Wrapped: Sequence { fatalError() }
}

Resolves rdar://problem/60658263

…e clauses in doc info request

We previously didn't report the requirements in the where clause of 'boxes'
below because it didn't have generic parameters of its own:

public struct Box<Wrapped> {
    public func boxes() -> [Box<Wrapped.Element>] where Wrapped: Sequence { fatalError() }
}

Resolves rdar://problem/60658263
@nathawes nathawes requested a review from akyrtzi April 6, 2020 18:50
@nathawes
Copy link
Contributor Author

nathawes commented Apr 6, 2020

@swift-ci please test

@nathawes nathawes merged commit b2fe997 into swiftlang:master Apr 6, 2020
@nathawes nathawes deleted the doc-info-where-from-context branch April 6, 2020 22:18
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