mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-12 07:27:33 +02:00
all imports are immutable
This commit is contained in:
parent
e633c3dfbd
commit
0ad4d2ff63
1 changed files with 1 additions and 2 deletions
|
@ -110,8 +110,7 @@
|
||||||
(lambda (m)
|
(lambda (m)
|
||||||
(let* ((mod2-name+imports (resolve-import m))
|
(let* ((mod2-name+imports (resolve-import m))
|
||||||
(mod2 (load-module (car mod2-name+imports))))
|
(mod2 (load-module (car mod2-name+imports))))
|
||||||
(%env-copy! env (module-env mod2) (cdr mod2-name+imports)
|
(%env-copy! env (module-env mod2) (cdr mod2-name+imports) #t)))
|
||||||
(eq? (car x) 'import-immutable))))
|
|
||||||
(cdr x)))))
|
(cdr x)))))
|
||||||
(module-meta-data mod))
|
(module-meta-data mod))
|
||||||
(for-each
|
(for-each
|
||||||
|
|
Loading…
Add table
Reference in a new issue