fix breakage with Nim HEAD

This commit is contained in:
Ștefan Talpalaru 2019-01-03 22:02:14 +01:00 committed by zah
parent 1efd0e84e1
commit cbbdc34399
1 changed files with 1 additions and 1 deletions

View File

@ -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):