Skip to content

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Sep 26, 2025

While emitting a function type for init accessor reference "self" parameter should always be mapped into the context.

When referencing an init accessor in an constrained extension context, substitution map for the original property cannot always be used when applying "self" parameter, emission logic eeds to check whether context makes the init accessor reference "concrete" and if so, avoid using the substitution map when forming partial application for "self" parameter.

Resolves: rdar://160816474

While emitting a function type for init accessor reference
"self" parameter should always be mapped into the context.

When referencing an init accessor in an constrained extension
context, substitution map for the original property cannot
always be used when applying "self" parameter, emission logic
eeds to check whether context makes the init accessor reference
"concrete" and if so, avoid using the substitution map
when forming partial application for "self" parameter.

Resolves: rdar://160816474
@xedin
Copy link
Contributor Author

xedin commented Sep 26, 2025

@swift-ci please test

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