Skip to content

Conversation

slavapestov
Copy link
Contributor

We would crash in some cases, or produce a slightly misleading diagnostic about same-element requirements, which are related but not quite the same.

In the fullness of time, we should figure out this corner of the language. Until then, add a new diagnostic since this is really about same-type requirements between concrete types and packs.

Fixes rdar://159790557.

@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

…nts involving packs

We would crash in some cases, or produce a slightly misleading
diagnostic about same-element requirements, which are related but
not quite the same.

In the fullness of time, we should figure out this corner of the
language. Until then, add a new diagnostic since this is really
about same-type requirements between concrete types and packs.

Fixes rdar://159790557.
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test macOS

@slavapestov slavapestov merged commit 59e8fde into swiftlang:main Sep 12, 2025
3 checks passed
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