fix some redex bugs caught by drdr tests

This commit is contained in:
Robby Findler 2011-11-09 06:47:38 -06:00
parent b063604ab4
commit 3379fb8df6
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#lang racket/base
(require racket/match
racket/contract
(for-template racket/base racket/contract))
(define (parse-kw-args formals actuals source form-name)

View File

@ -915,7 +915,7 @@
(format "counterexample found after ~a~a:\n"
(format-attempts attempt)
(if source (format " with ~a" source) "")))
(pretty-print term (current-output-port)))
(pretty-write term (current-output-port)))
(make-counterexample term)))))))))
(define (check-lhs-pats lang mf/rr prop attempts retries what show term-fix