mirror of
https://github.com/janet-lang/janet
synced 2025-01-13 00:50:26 +00:00
Remove :modules dynamic binding
This commit is contained in:
parent
1eb34989d4
commit
ed5c1dfc3c
@ -2746,8 +2746,6 @@
|
||||
(and as (string as "/"))
|
||||
prefix
|
||||
(string (last (string/split "/" path)) "/")))
|
||||
(unless (zero? (length prefix))
|
||||
(put-in env [:modules prefix] newenv))
|
||||
(merge-module env newenv prefix ep))
|
||||
|
||||
(defmacro import
|
||||
|
Loading…
Reference in New Issue
Block a user