* fixed a bug in module expander that allowed a module to export any
identifier bound in scope, even if not defined inside the module body.
This commit is contained in:
parent
7f2aa4f2f9
commit
cc04411d97
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -2155,7 +2155,9 @@
|
|||
(chi-body* e* r mr lex* rhs* mod** kwd* rib #f)))
|
||||
(let ((exp-lab*
|
||||
(map (lambda (x)
|
||||
(or (id->label (add-subst rib x))
|
||||
(or (id->label
|
||||
(mkstx (id->sym x) (stx-mark* x)
|
||||
(list rib)))
|
||||
(stx-error x "cannot find module export")))
|
||||
exp-id*))
|
||||
(mod** (cons e* mod**)))
|
||||
|
|
Loading…
Reference in New Issue