diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2019-08-15 22:19:34 -0700 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-08-16 07:19:34 +0200 |
commit | 922e2a5098cfec871a9bed7bff6b1e5298c9f931 (patch) | |
tree | 485834bace2a09b32f93a9f9098a0c19c449faad /lib/core | |
parent | 511298242da792e342fa0ea9491b77c822df1209 (diff) | |
download | Nim-922e2a5098cfec871a9bed7bff6b1e5298c9f931.tar.gz |
refs #11956 (#11957)
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/macros.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim index fa8a682ad..3fe53f6f5 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -608,7 +608,7 @@ proc expectLen*(n: NimNode, min, max: int) {.compileTime.} = ## If this is not the case, compilation aborts with an error message. ## This is useful for writing macros that check its number of arguments. if n.len < min or n.len > max: - error("macro expects a node with " & $min & ".." & $max " children", n) + error("macro expects a node with " & $min & ".." & $max & " children", n) proc newTree*(kind: NimNodeKind, children: varargs[NimNode]): NimNode {.compileTime.} = |