Skip to content

[BuilderTransform] Verify that builder type has at least one accessible build{Partial}Block #64213

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 3 commits into from
Mar 14, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Mar 8, 2023

Check accessibility of all build{Partial}Block overloads and
diagnose if none of them are as accessible as type, otherwise
swift interfaces could end up with invalid result builder
declarations when type is public and all builder methods are
internal.

Resolves: rdar://104384604

xedin added 3 commits March 8, 2023 00:48
…le build{Partial}Block

Check accessibility of all build{Partial}Block overloads and
diagnose if none of them are as accessible as type, otherwise
swift interfaces could end up with invalid result builder
declarations when type is public and all builder methods are
internal.

Resolves: rdar://104384604
@xedin xedin requested review from hborla and slavapestov as code owners March 8, 2023 20:48
@xedin
Copy link
Contributor Author

xedin commented Mar 8, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Mar 8, 2023

@swift-ci please test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Mar 9, 2023

@swift-ci please clean test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Mar 10, 2023

@swift-ci please test source compatibility

@xedin
Copy link
Contributor Author

xedin commented Mar 10, 2023

@swift-ci please test source compatibility release

@xedin
Copy link
Contributor Author

xedin commented Mar 10, 2023

Doggie project timeout is unrelated, happen in other PRs as well.

@xedin
Copy link
Contributor Author

xedin commented Mar 14, 2023

@swift-ci please test source compatibility release

@xedin xedin merged commit ed5984a into swiftlang:main Mar 14, 2023
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