Skip to content

[FixedArray] Fix BitwiseCopyable inference. #77512

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
Nov 10, 2024

Conversation

nate-chandler
Copy link
Contributor

FixedArray<T> : BitwiseCopyable iff T : BitwiwseCopyable; determining this requires using checkConformance, not lookupConformance.

Also fix type-lowering verification for FixedArray--the new aggregate type must be walked into--addressing an asserts-only disableable-via-flag assertion failure.

rdar://139448358

`FixedArray<T> : BitwiseCopyable` iff `T : BitwiwseCopyable`;
determining this requires using `checkConformance`, not
`lookupConformance`.
A new aggregate type has been added and must be walked into.

rdar://139448358
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler merged commit a24c448 into swiftlang:main Nov 10, 2024
5 checks passed
@nate-chandler nate-chandler deleted the rdar139448358 branch November 10, 2024 01:25
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