Closed jcommelin closed 10 months ago
#assertType 5 : ?_ actually succeeds, because the default type of 5 is Nat. By changing the counterexample to #assertType [] : ?_ we get the expected failure.
#assertType 5 : ?_
5
Nat
#assertType [] : ?_
closes #101
(Looks good to me after confirming what's here indeed succeeds without that line and fails with the suggested replacement example.)
#assertType 5 : ?_
actually succeeds, because the default type of5
isNat
. By changing the counterexample to#assertType [] : ?_
we get the expected failure.closes #101