summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/core/macros.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index 0bfdffc5d..3fd2c8502 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -713,7 +713,7 @@ iterator items*(n: NimNode): NimNode {.inline.} =
     for i in 0 .. high(n):
       yield n[i]
 
-{.deprecated: [children: items].}
+iterator children*(n: NimNode): NimNode {.inline.} = items
 
 template findChild*(n: NimNode; cond: expr): NimNode {.
   immediate, dirty.} =