Don't use the contract pretty printer when we try to see if we can single
line the contract error. svn: r12766
This commit is contained in:
parent
8bc883d1cb
commit
138a3554e2
|
@ -180,8 +180,7 @@
|
|||
[formatted-contract-sexp
|
||||
(let ([one-line
|
||||
(let ([sp (open-output-string)])
|
||||
(parameterize ([pretty-print-print-line print-contract-liner]
|
||||
[pretty-print-columns 'infinity])
|
||||
(parameterize ([pretty-print-columns 'infinity])
|
||||
(pretty-print contract-sexp sp)
|
||||
(get-output-string sp)))])
|
||||
(if (< (string-length one-line) 30)
|
||||
|
|
Loading…
Reference in New Issue
Block a user