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

change validation to throw instead of pre-condition to avoid crashes #6354

Merged
merged 1 commit into from Mar 30, 2023

Conversation

tomerd
Copy link
Member

@tomerd tomerd commented Mar 30, 2023

motivation: avoid crashes

changes: throw and internal error instead of pre-condition when validation fails

rdar://98522178

motivation: avoid crashes

changes: throw and internal error instead of pre-condition when validation fails

rdar://98522178
@tomerd
Copy link
Member Author

tomerd commented Mar 30, 2023

@swift-ci smoke test

@tomerd tomerd merged commit af783e1 into apple:main Mar 30, 2023
4 checks passed
tomerd added a commit to tomerd/swift-package-manager that referenced this pull request Mar 30, 2023
…pple#6354)

motivation: avoid crashes

changes: throw and internal error instead of pre-condition when validation fails

rdar://98522178
tomerd added a commit that referenced this pull request Mar 31, 2023
…6354) (#6355)

motivation: avoid crashes

changes: throw and internal error instead of pre-condition when validation fails

rdar://98522178
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.

None yet

2 participants