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

Replace asserts with contraints #1800

Closed
janno42 opened this issue Aug 24, 2022 · 2 comments
Closed

Replace asserts with contraints #1800

janno42 opened this issue Aug 24, 2022 · 2 comments
Assignees
Labels
[C] Backend Focuses on backend implementation [P] Minor Minor priority [T] Refactoring Existing parts should become faster, more readable, or in any other way better.

Comments

@janno42
Copy link
Member

janno42 commented Aug 24, 2022

A couple of asserts/checks might be better expressed as constraints. I'm not sure there was a reason why we didn't do that.

Originally posted by @karyon in #1796 (comment)

@niklasmohrin
Copy link
Member

Closed by #1957

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C] Backend Focuses on backend implementation [P] Minor Minor priority [T] Refactoring Existing parts should become faster, more readable, or in any other way better.
Development

No branches or pull requests

3 participants