Skip to content

Revert "Update capabilities to be expressible by Boolean literals" #18

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
Mar 17, 2025

Conversation

mattt
Copy link
Contributor

@mattt mattt commented Mar 17, 2025

Reverts #16

I neglected to appreciate that passing false has the same behavior as true. Unfortunately, we can't make the initializer init? to return nil in case of false. We could fatalError in that case, but that feels bad. Easiest thing to do here is roll back the change.

@mattt mattt merged commit 59b6b75 into main Mar 17, 2025
1 check passed
@mattt mattt deleted the revert-16-mattt/capabilities-expressible-by-boolean branch March 17, 2025 12:42
devyhan pushed a commit to devyhan/swift-sdk that referenced this pull request Apr 4, 2025
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