Skip to content

NCGenerics: restrict conditional Copyable reqs #72820

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 2 commits into from
Apr 10, 2024

Conversation

kavon
Copy link
Member

@kavon kavon commented Apr 3, 2024

It doesn't really make sense for a conditional conformance requirement for Copyable to depend on any other requirement other than other Copyable conformance requirements.

resolves rdar://124967739

@kavon
Copy link
Member Author

kavon commented Apr 3, 2024

@swift-ci smoke test

@kavon kavon force-pushed the conditional-copyable-restriction branch from dfc8f0a to 35adb2f Compare April 4, 2024 21:09
@kavon
Copy link
Member Author

kavon commented Apr 4, 2024

@swift-ci smoke test

It doesn't really make sense for a conditional conformance requirement
for `Copyable` to depend on any other requirement other than other
`Copyable` conformance requirements.

resolves rdar://124967739
@kavon kavon force-pushed the conditional-copyable-restriction branch from 35adb2f to 215c4e1 Compare April 4, 2024 21:21
@kavon
Copy link
Member Author

kavon commented Apr 4, 2024

@swift-ci smoke test

1 similar comment
@kavon
Copy link
Member Author

kavon commented Apr 8, 2024

@swift-ci smoke test

@kavon
Copy link
Member Author

kavon commented Apr 8, 2024

@swift-ci smoke test linux

Sometimes, quotes or an "aka" for a type are not desirable in a
diagnostic, such as one describing a Requirement. This modifier
suppresses such additional formatting a Type in a diagnostic.
@kavon kavon force-pushed the conditional-copyable-restriction branch from 2eb8ccf to 0ce97b8 Compare April 9, 2024 20:52
@kavon
Copy link
Member Author

kavon commented Apr 9, 2024

@swift-ci smoke test

@kavon kavon enabled auto-merge April 10, 2024 00:11
@kavon kavon merged commit 179bc4b into swiftlang:main Apr 10, 2024
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