[IDE][SourceKit/DocSupport] Add members of underscored protocol extensions in extensions of conforming types. #32148
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We would previously hide underscored protocols and their extensions and members, but the
_
prefix really just means the protocols themselves aren't intended for clients, rather than their members.This also adds support for
fully_annotated_decl
entries for extensions in doc-info in order to be consistent with every other decl, and removes the 'fully_annotated_generic_signature' entry we supplied as a fallback.Also fixes several bugs with the synthesized extensions mechanism:
Self.Element
was printed rather thanT
) both in the interface output and in the requirements list. We were also incorrectly printing requirements that were already satisfied once the base type was substituted in.key.doc.full_as_xml
string for synthesized members were printed to match their original context, rather than the synthesized one.Resolves rdar://problem/57121937