1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-26 07:03:16 +00:00

Remove :modules dynamic binding

This commit is contained in:
Michael Camilleri 2022-01-23 01:54:58 +09:00
parent 1eb34989d4
commit ed5c1dfc3c
No known key found for this signature in database
GPG Key ID: 7EB218A48DF8B572

View File

@ -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