fix DrScheme REPL, whose old use of dynamic-require is no longer enough to instantiate compile-time support (PR 10185)

svn: r14453
This commit is contained in:
Matthew Flatt 2009-04-08 01:56:37 +00:00
parent 7638f0fa98
commit a472a4452c

View File

@ -234,7 +234,11 @@
(parameterize ([current-namespace (current-namespace)])
;; the prompt makes it continue after an error
(call-with-continuation-prompt
(λ () (dynamic-require modspec #f))))
(λ ()
;; instantiate compile time:
(dynamic-require modspec (void))
;; instantiate run time:
(dynamic-require modspec #f))))
(current-namespace (module->namespace modspec))
(check-interactive-language))
;; here's where they're all combined with the module expression