Open bennn opened 9 years ago
That's funny, but unsurprising. define-simple-check
is a macro that uses untyped identifiers, and typed/rackunit
doesn't handle it in any special way.
I've just run into this as well.
While it may or may not be unsurprising, it's still a blocker to using useful rackunit
functionality in the context of Typed Racket.
So +1 to the original report.
I'll also mention that with-check-info
isn't defined (another macro), and that this can't be worked around with with-check-info*
because make-check-info
appears not to be exported from typed/rackunit
(though it is exported from rackunit
).
The constructor check-info
is exported, so this can be made to work, but it's make-check-info
that appears in the example in the documentation
This innocent-looking program triggers 53 type errors.
Here they are. . .