mirror of
https://github.com/janet-lang/janet
synced 2025-01-26 07:06:51 +00:00
Apply deprecation machinery to file/popen
This commit is contained in:
parent
9abee3f29a
commit
d5c8eb048a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user