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

Decide that BSATN byte that ain't 0 or 1 is not a valid AV::Bool #2026

Merged
merged 1 commit into from
Nov 30, 2024

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Nov 28, 2024

Description of Changes

Please describe your change, mention any related tickets, and so on here.

API and ABI breaking changes

Yes, this no longer accepts e.g., 2 as true.

Testing

A proptest is added to ensure this new (correct) behavior does not regress.

@Centril Centril force-pushed the centril/bool-is-0-or-1 branch from 2efc4ee to c61b59e Compare November 29, 2024 23:27
@Centril Centril force-pushed the centril/bool-is-0-or-1 branch from c61b59e to 0a06a91 Compare November 29, 2024 23:27
@Centril Centril enabled auto-merge November 29, 2024 23:28
@Centril Centril added this pull request to the merge queue Nov 29, 2024
Merged via the queue into master with commit 6aa08ce Nov 30, 2024
8 checks passed
@Centril Centril deleted the centril/bool-is-0-or-1 branch November 30, 2024 01:40
Copy link
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just also saying that I approve of this. Good catch.

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