We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aa05be commit ff1446fCopy full SHA for ff1446f
typed-racket-lib/typed-racket/types/printer.rkt
@@ -620,7 +620,8 @@
620
;; values like characters (when `display`ed)
621
;; (comes after Intersection since Val-able will match
622
;; when an element of an intersection is a val)
623
- [(Val-able: v) (format "~v" v)]
+ [(Val-able: v) (cond [(void? v) 'Void]
624
+ [else (format "~v" v)])]
625
[(? Base?) (Base-name type)]
626
[(Pair: l r) `(Pairof ,(t->s l) ,(t->s r))]
627
[(ListDots: dty dbound) `(List ,(t->s dty) ... ,dbound)]
0 commit comments