hack around namespace-variable-value problem
svn: r12441
This commit is contained in:
parent
dc4eb77b10
commit
61d747dc96
|
@ -660,8 +660,8 @@
|
||||||
(lambda (_)
|
(lambda (_)
|
||||||
(error* "bound to a syntax, expecting a value: ~e"
|
(error* "bound to a syntax, expecting a value: ~e"
|
||||||
(->disp 'id)))])
|
(->disp 'id)))])
|
||||||
(namespace-variable-value `id #t #f
|
(parameterize ([current-namespace (get-namespace (submission-eval))])
|
||||||
(get-namespace (submission-eval))))
|
(namespace-variable-value `id)))
|
||||||
...))
|
...))
|
||||||
|
|
||||||
(provide !syntax)
|
(provide !syntax)
|
||||||
|
@ -671,8 +671,8 @@
|
||||||
[exn:fail:contract:variable?
|
[exn:fail:contract:variable?
|
||||||
(lambda (_)
|
(lambda (_)
|
||||||
(error* "missing binding: ~e" (->disp 'id)))])
|
(error* "missing binding: ~e" (->disp 'id)))])
|
||||||
(namespace-variable-value `id #t #f
|
(parameterize ([current-namespace (get-namespace (submission-eval))])
|
||||||
(get-namespace (submission-eval)))
|
(namespace-variable-value `id))
|
||||||
(error* "bound to a value, expecting a syntax: ~e" (->disp 'id)))
|
(error* "bound to a value, expecting a syntax: ~e" (->disp 'id)))
|
||||||
...))
|
...))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user