Open ksqsf opened 2 years ago
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.
@xieyuheng test bot replay from tg
Is this expected behavior?