fix nimsuggest deprecation warnings (#12772)
This commit is contained in:
parent
b6b8d540e3
commit
0d022622e3
1 changed files with 2 additions and 2 deletions
|
|
@ -534,10 +534,10 @@ proc toPretty(result: var string, node: SexpNode, indent = 2, ml = true,
|
|||
result.add(escapeJson(node.str))
|
||||
of SInt:
|
||||
if lstArr: result.indent(currIndent)
|
||||
result.add(node.num)
|
||||
result.addInt(node.num)
|
||||
of SFloat:
|
||||
if lstArr: result.indent(currIndent)
|
||||
result.add(node.fnum)
|
||||
result.addFloat(node.fnum)
|
||||
of SNil:
|
||||
if lstArr: result.indent(currIndent)
|
||||
result.add("nil")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue