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? 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
datatype Bool { true: Bool false: Bool } datatype Nat { zero: Bool suc(pred: Nat): Bool } check! Nat.zero : Bool
Is this expected behavior?
The text was updated successfully, but these errors were encountered:
No, this is error that should be reported by the type checker.
The following definition should not be allowed:
datatype Nat { zero: Bool suc(pred: Nat): Bool }
Thanks for this feedback!
I will fix this soon.
Sorry, something went wrong.
@xieyuheng test bot replay from tg
No branches or pull requests
Is this expected behavior?
The text was updated successfully, but these errors were encountered: