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

Improve asserted_cast #95

Merged
merged 1 commit into from
Aug 31, 2024
Merged

Improve asserted_cast #95

merged 1 commit into from
Aug 31, 2024

Conversation

sndels
Copy link
Owner

@sndels sndels commented Aug 31, 2024

Don't allow casts into the same type because it's redundant and adds extra debug runtime cost. Requires gives nicer errors and the same ones in all build types.

Don't allow casts into the same type because it's redundant and adds
extra debug runtime cost. Requires gives nicer errors and the same ones
in all build types.
@sndels sndels merged commit 3c61290 into master Aug 31, 2024
6 checks passed
@sndels sndels deleted the assert-fix branch August 31, 2024 08:15
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