Skip to content

Commit

Permalink
revert current-check-around void? contract (#126)
Browse files Browse the repository at this point in the history
I would like to discuss reverting part of 1fbc98e

There doesn't seem to be a reason to limit the behavior, it's different from what the docs specify, and it breaks existing programs.

(cherry picked from commit c0df926)
  • Loading branch information
stchang authored and samth committed Oct 28, 2020
1 parent 92b6812 commit 2cf35ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rackunit-lib/rackunit/private/check.rkt
Expand Up @@ -17,7 +17,7 @@
(contract-out
[fail-check (->* () (string?) void?)]
[current-check-handler (parameter/c (-> any/c any))]
[current-check-around (parameter/c (-> (-> void?) any))]
[current-check-around (parameter/c (-> (-> any/c) any))]
[plain-check-around (-> (-> void?) void?)]))

(provide check-around
Expand Down

0 comments on commit 2cf35ad

Please sign in to comment.