Skip to content

[BuilderTransform] Rework missing buildWithLimitedAvailability detection #63768

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 1 commit into from
Feb 21, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Feb 18, 2023

Since all of the branches of an if statement are joined together and
hence produce the same type, that type should be used to check
whether buildWithLimitedAvailability is required but missing regardless of
availability condition kind.

Resolves: #63764

Since all of the branches of an `if` statement are joined together
and hence produce the same type, that type should be used to
check whether `buildWithAvailability` is required but missing
regardless of availability condition kind.

Resolves: swiftlang#63764
@xedin xedin requested a review from hborla as a code owner February 18, 2023 09:04
@xedin
Copy link
Contributor Author

xedin commented Feb 18, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Feb 18, 2023

@swift-ci please test Linux platform

1 similar comment
@xedin
Copy link
Contributor Author

xedin commented Feb 18, 2023

@swift-ci please test Linux platform

@xedin xedin changed the title [BuilderTransform] Rework missing buildWithAvailability detection [BuilderTransform] Rework missing buildWithLimitedAvailability detection Feb 21, 2023
@xedin xedin merged commit 45edfc3 into swiftlang:main Feb 21, 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.

Swift 5.8 ViewBuilder Crash
2 participants