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

Add machinery for "assert in debug mode" checks #145

Open
zbanks opened this issue Oct 1, 2021 · 0 comments
Open

Add machinery for "assert in debug mode" checks #145

zbanks opened this issue Oct 1, 2021 · 0 comments

Comments

@zbanks
Copy link
Collaborator

zbanks commented Oct 1, 2021

Some kind of assert-only-in-debug-mode would be useful here. If it comes up we'd want to know about it since it's a probable bug, but at the same time it's a complex invariant so it's hard to be 100% sure about a hard assert, and there's an easy fallback path. Maybe too much effort to be worth introducing machinery for, though.

Originally posted by @simonlindholm in #144 (comment)

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

No branches or pull requests

1 participant