From 190ebc92ad4e41d93da5c1781cba75f4d827e6ef Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Thu, 19 Dec 2019 22:51:01 +0100 Subject: [PATCH] fixup --- lib/system.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/system.nim b/lib/system.nim index 13a5b2b8951a3..04e13deea4520 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -4198,10 +4198,9 @@ type NimNode* {.magic: "PNimrodNode".} = ref NimNodeObj ## Represents a Nim AST node. Macros operate on this type. -proc lenVarargsImpl(x: NimNode): NimNode {.magic: "LengthOpenArray", noSideEffect.} - macro lenVarargs*(x: varargs[untyped]): int = ## returns number of variadic arguments in `x` + proc lenVarargsImpl(x: NimNode): NimNode {.magic: "LengthOpenArray", noSideEffect.} lenVarargsImpl(x) when false: