1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-25 22:53:16 +00:00

Apply deprecation machinery to file/popen

This commit is contained in:
sogaiu 2021-09-18 17:08:56 +09:00
parent 9abee3f29a
commit d5c8eb048a

View File

@ -3664,6 +3664,10 @@
(put into k (x k))))
into)
# Deprecate file/popen
(when-let [v (get root-env 'file/popen)]
(put v :deprecated true))
# Deprecate thread library
(loop [[k v] :in (pairs root-env)
:when (symbol? k)