minor parseopt.nim improvements (#21256)
* minor parseopt.nim improvements * attempt to make CI happy Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
This commit is contained in:
parent
f04f3e8bf7
commit
00ef27f4d1
2 changed files with 34 additions and 39 deletions
|
|
@ -1360,6 +1360,7 @@ proc to*[T](node: JsonNode, t: typedesc[T]): T =
|
|||
doAssert data.list == @[1, 2, 3, 4]
|
||||
|
||||
var jsonPath = ""
|
||||
result = default(T)
|
||||
initFromJson(result, node, jsonPath)
|
||||
|
||||
when false:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue