fix contract error message to use pretty-write for contract forms
This commit is contained in:
parent
22470e4147
commit
139faf9160
|
@ -87,8 +87,13 @@
|
|||
(pretty-display v port)
|
||||
(get-output-string port)))
|
||||
|
||||
(define (pretty-format/write v [columns (pretty-print-columns)])
|
||||
(let ([port (open-output-string)])
|
||||
(pretty-write v port)
|
||||
(get-output-string port)))
|
||||
|
||||
(define show/display (show pretty-format/display))
|
||||
(define show/write (show pretty-format))
|
||||
(define show/write (show pretty-format/write))
|
||||
|
||||
(define (show-line-break line port len cols)
|
||||
(newline port)
|
||||
|
|
Loading…
Reference in New Issue
Block a user