mirror of
https://github.com/janet-lang/janet
synced 2025-01-12 16:40:27 +00:00
fix call to table/proto-flatten
This commit is contained in:
parent
5c35d24e13
commit
9a06660fdb
@ -3697,7 +3697,7 @@
|
|||||||
# flatten nested tables.
|
# flatten nested tables.
|
||||||
(loop [[k v] :in (pairs root-env)
|
(loop [[k v] :in (pairs root-env)
|
||||||
:when (symbol? k)]
|
:when (symbol? k)]
|
||||||
(def flat (table/proto-flatten @{} v))
|
(def flat (table/proto-flatten v))
|
||||||
(when (boot/config :no-docstrings)
|
(when (boot/config :no-docstrings)
|
||||||
(put flat :doc nil))
|
(put flat :doc nil))
|
||||||
(when (boot/config :no-sourcemaps)
|
(when (boot/config :no-sourcemaps)
|
||||||
|
Loading…
Reference in New Issue
Block a user