Skip to content
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

[sendable] Sendable conformance checks cause errors on 5.6 but warnings on 5.7 #229

Merged
merged 2 commits into from
Aug 15, 2022

Conversation

ktoso
Copy link
Member

@ktoso ktoso commented Aug 12, 2022

5.6 specific follow up to #218

This would be one way to solve #228 because a missing conformance here is diagnosed as a WARNING on 5.7, but as an ERROR on 5.6.

Other checks are fine on 5.6 AFAICS though.

cc @DougGregor

@ktoso ktoso requested review from tomerd, Lukasa and yim-lee August 12, 2022 08:07
@Lukasa
Copy link
Contributor

Lukasa commented Aug 12, 2022

Note the 5.6 failure, you'll need to make this @unchecked Sendable for 5.6.

@ktoso
Copy link
Member Author

ktoso commented Aug 12, 2022

Hah right, CI just reminded me of that as well. Painful but it seems that'll help...

Thanks for having a look @Lukasa

@ktoso ktoso force-pushed the wip-fix-sendable-5.6 branch 3 times, most recently from aff3bc8 to c85114e Compare August 12, 2022 08:30
@ktoso
Copy link
Member Author

ktoso commented Aug 12, 2022

Okey, finally got the #if dance right.

@ktoso ktoso force-pushed the wip-fix-sendable-5.6 branch from c85114e to 2d39d6e Compare August 12, 2022 08:33
@ktoso ktoso merged commit 6fe203d into apple:main Aug 15, 2022
@ktoso ktoso deleted the wip-fix-sendable-5.6 branch August 15, 2022 00:21
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.

3 participants