fix show box stack overflow
This commit is contained in:
parent
5a27d345eb
commit
7a7a3b8977
|
@ -77,7 +77,7 @@
|
||||||
:list (string "[" (string/join (map show x) ", ") "]")
|
:list (string "[" (string/join (map show x) ", ") "]")
|
||||||
:dict (string "#{" (dict-show x) "}")
|
:dict (string "#{" (dict-show x) "}")
|
||||||
:set (string "${" (string/join (map show (keys x)) ", ") "}")
|
:set (string "${" (string/join (map show (keys x)) ", ") "}")
|
||||||
:box (string "box " (x :name) " [ " (show x) " ]")
|
:box (string "box " (x :name) " [ " (show (x :^value)) " ]")
|
||||||
:pkg (show-pkg x)
|
:pkg (show-pkg x)
|
||||||
(stringify x)))
|
(stringify x)))
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
# (comment
|
# (comment
|
||||||
(do
|
(do
|
||||||
(def source `
|
(def source `
|
||||||
"foo \bbar"
|
box foo = nil
|
||||||
`)
|
`)
|
||||||
(def out (-> source
|
(def out (-> source
|
||||||
ludus
|
ludus
|
||||||
|
|
Loading…
Reference in New Issue
Block a user