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: