fixed PR 8166

svn: r3701

original commit: 73ce86e94bf9b7f572475bfb2180789bdfca6d48
This commit is contained in:
Robby Findler 2006-07-13 19:29:04 +00:00
parent 6edba2f4c6
commit f2b0445595

View File

@ -4509,6 +4509,16 @@
(eval '(require neg))))
(error-test
#'(parameterize ([current-namespace (make-namespace)])
(eval '(module bug mzscheme
(require (lib "contract.ss"))
(define the-defined-variable 'five)
(provide/contract [the-defined-variable number?])))
(eval '(require bug)))
(λ (x)
(and (exn? x)
(regexp-match #rx"on the-defined-variable" (exn-message x)))))