* Fixed a problem in the expander that caused libraries that are
expanded from the repl to dump all their bindings into the top level as well.
This commit is contained in:
parent
79c31416cf
commit
6c1dbba3de
|
@ -3083,6 +3083,7 @@
|
|||
|
||||
(define core-library-expander
|
||||
(lambda (e)
|
||||
(parameterize ([interaction-library #f])
|
||||
(let-values (((name* exp* imp* b*) (parse-library e)))
|
||||
(let-values (((name ver) (parse-library-name name*)))
|
||||
(let-values (((imp* invoke-req* visit-req* invoke-code
|
||||
|
@ -3090,7 +3091,7 @@
|
|||
(library-body-expander exp* imp* b* #f)))
|
||||
(values name ver imp* invoke-req* visit-req*
|
||||
invoke-code visit-code export-subst
|
||||
export-env))))))
|
||||
export-env)))))))
|
||||
|
||||
(define (parse-top-level-program e*)
|
||||
(syntax-match e* ()
|
||||
|
|
Loading…
Reference in New Issue