Skip to content

mark the conversion operation in NumericToRawBytes as infallible #3603

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

michaelficarra
Copy link
Member

I haven't actually checked yet that there's no path that can throw here. But each of these AOs that are indirectly referenced through the table return completion records (which are sometimes abrupt!). So we better hope that they can't be made to throw.

@michaelficarra michaelficarra requested a review from a team May 15, 2025 00:34
@michaelficarra michaelficarra added editorial change completion records Relates to completion records, and ? / ! notation. labels May 15, 2025
@bakkot
Copy link
Contributor

bakkot commented May 15, 2025

The conversion operations only throw in type coercions which aren't applicable here, so they indeed cannot throw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completion records Relates to completion records, and ? / ! notation. editorial change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants