Skip to content

Expose implemented types for protocol compositions#1461

Closed
erichoracek wants to merge 1 commit into
masterfrom
dev/eh/protocol-composition-implemented-types
Closed

Expose implemented types for protocol compositions#1461
erichoracek wants to merge 1 commit into
masterfrom
dev/eh/protocol-composition-implemented-types

Conversation

@erichoracek

Copy link
Copy Markdown
Collaborator

Summary

  • Add Type.implementedTypes as a deterministic array view over implements.
  • Expose implementedTypes to JavaScript templates and refresh embedded runtime content.
  • Add composer coverage showing protocol composition aliases can be iterated and inspected through their conformances.

Validation

  • env SWIFT_DISABLE_SANDBOX=1 swift test --filter SourceryLibTests.ParserComposerSpec/ParserComposer__uniqueTypesAndFunctions__given_typealiases__given_global_protocol_composition__exposes_protocol_composition_conformances_as_iterable_types (builds; Quick filter reports 0 executed examples)
  • git diff --check

@erichoracek erichoracek changed the title [codex] Expose implemented types for protocol compositions Expose implemented types for protocol compositions May 5, 2026
@erichoracek erichoracek marked this pull request as ready for review May 5, 2026 16:23
@erichoracek

Copy link
Copy Markdown
Collaborator Author

closing this as it feels redundant with existing properties

@erichoracek erichoracek closed this May 6, 2026
@erichoracek erichoracek deleted the dev/eh/protocol-composition-implemented-types branch May 6, 2026 03:50
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.

1 participant