fixed PR 8166
svn: r3701 original commit: 73ce86e94bf9b7f572475bfb2180789bdfca6d48
This commit is contained in:
parent
6edba2f4c6
commit
f2b0445595
|
@ -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)))))
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user