fix some redex bugs caught by drdr tests
This commit is contained in:
parent
b063604ab4
commit
3379fb8df6
|
@ -1,6 +1,7 @@
|
||||||
#lang racket/base
|
#lang racket/base
|
||||||
|
|
||||||
(require racket/match
|
(require racket/match
|
||||||
|
racket/contract
|
||||||
(for-template racket/base racket/contract))
|
(for-template racket/base racket/contract))
|
||||||
|
|
||||||
(define (parse-kw-args formals actuals source form-name)
|
(define (parse-kw-args formals actuals source form-name)
|
||||||
|
|
|
@ -915,7 +915,7 @@
|
||||||
(format "counterexample found after ~a~a:\n"
|
(format "counterexample found after ~a~a:\n"
|
||||||
(format-attempts attempt)
|
(format-attempts attempt)
|
||||||
(if source (format " with ~a" source) "")))
|
(if source (format " with ~a" source) "")))
|
||||||
(pretty-print term (current-output-port)))
|
(pretty-write term (current-output-port)))
|
||||||
(make-counterexample term)))))))))
|
(make-counterexample term)))))))))
|
||||||
|
|
||||||
(define (check-lhs-pats lang mf/rr prop attempts retries what show term-fix
|
(define (check-lhs-pats lang mf/rr prop attempts retries what show term-fix
|
||||||
|
|
Loading…
Reference in New Issue
Block a user