Better fix for the previous bug.

(cherry picked from commit 793d7894f1)
This commit is contained in:
Guillaume Marceau 2011-07-14 00:12:47 -04:00 committed by Eli Barzilay
parent 72a81a7c12
commit fd6d7de506

View File

@ -5,7 +5,7 @@
scribble/struct
scribble/racket
racket/list
scheme/pretty
racket/pretty
syntax/docprovide
(for-syntax racket/base)
)
@ -33,7 +33,7 @@
(define (typeset-type type)
(let-values ([(in out) (make-pipe)])
(parameterize ([pretty-print-columns 50])
(pretty-print type out))
(pretty-write type out))
(port-count-lines! in)
(read-syntax #f in)))