We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
div_by_crash.idr.zip
import Data.Primitives.Views total bad: Int -> Int bad x with (divides x 2) bad (_ + _) | (DivBy _) impossible
This should be a valid case. The function should not be considered total.
The compiler accepts this as a total function. It crashes at run time.
The text was updated successfully, but these errors were encountered:
Can I get any confirmation or update on this?
Sorry, something went wrong.
No branches or pull requests
div_by_crash.idr.zip
Steps to Reproduce
Expected Behavior
This should be a valid case. The function should not be considered total.
Observed Behavior
The compiler accepts this as a total function. It crashes at run time.
The text was updated successfully, but these errors were encountered: