[VM/values/printable] `codify` doesn't produce correct output for Inline blocks
Closed this issue · 1 comments
github-actions commented
[VM/values/printable] codify
doesn't produce correct output for Inline blocks
we can check this via as.code [(1 2)[3 4]]
Block values work fine; Inline values show up as blocks
arturo/src/vm/values/printable.nim
Line 579 in 04e57a1
of Date : result &= fmt("to :date \"{v.eobj}\"")
# TODO(VM/values/printable) `codify` doesn't produce correct output for Inline blocks
# we can check this via `as.code [(1 2)[3 4]]`
# Block values work fine; Inline values show up as blocks
# labels: vm, bug
of Inline, Block:
if not (pretty and unwrapped and level==0):
if v.kind==Inline: result &= "("
ndex f7bd6841ab..efa0bd8aed 100644
++ b/src/vm/values/value.nim
2e600d0c675a35be1b76cb081d7b6c950f1a6ac6
github-actions commented
Closed in 124c0ba