mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-01-09 00:53:07 +00:00
Fixed compilation error with newer nim
This commit is contained in:
parent
6a0b0ff30d
commit
839cc3ae33
@ -117,7 +117,7 @@ proc fromJson[N, T](n: JsonNode, argName: string, result: var array[N, T]) =
|
||||
proc unpackArg[T](args: JsonNode, argName: string, argtype: typedesc[T]): T =
|
||||
fromJson(args, argName, result)
|
||||
|
||||
proc expectArrayLen(node: NimNode, jsonIdent: untyped, length: int) =
|
||||
proc expectArrayLen(node, jsonIdent: NimNode, length: int) =
|
||||
let
|
||||
identStr = jsonIdent.repr
|
||||
expectedStr = "Expected " & $length & " Json parameter(s) but got "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user