mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-01-08 00:23:12 +00:00
fix breakage with Nim HEAD
This commit is contained in:
parent
1efd0e84e1
commit
cbbdc34399
@ -149,7 +149,7 @@ proc isOptionalArg(typeNode: NimNode): bool =
|
||||
result = typeNode[0].kind == nnkIdent and
|
||||
typeNode[0].strVal == "Option"
|
||||
|
||||
proc expectOptionalArrayLen(node, parameters: NimNode, jsonIdent: untyped, maxLength: int): int =
|
||||
proc expectOptionalArrayLen(node, parameters, jsonIdent: NimNode, maxLength: int): int =
|
||||
var minLength = maxLength
|
||||
|
||||
for arg, typ in paramsRevIter(parameters):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user