summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorhlaaftana <10591326+hlaaftana@users.noreply.github.com>2020-09-27 20:47:58 +0300
committerGitHub <noreply@github.com>2020-09-27 19:47:58 +0200
commit0ea559611d7cd4ba907a668af01302d52fa3eab9 (patch)
tree0f7b6930d546ff06fb3946f79408283380b1e953 /doc
parent57b7841c184e9f185d6d2404a1320e5d089e0e0f (diff)
downloadNim-0ea559611d7cd4ba907a668af01302d52fa3eab9.tar.gz
Fix proc generic params ident defs, missing empty (#15412)
Diffstat (limited to 'doc')
-rw-r--r--doc/astspec.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/astspec.txt b/doc/astspec.txt
index ab2fbcacc..c41aee96f 100644
--- a/doc/astspec.txt
+++ b/doc/astspec.txt
@@ -1255,7 +1255,9 @@ AST:
     nnkEmpty(), # patterns for term rewriting in templates and macros (not procs)
     nnkGenericParams( # generic type parameters, like with type declaration
       nnkIdentDefs(
-        nnkIdent("T"), nnkIdent("SomeInteger")
+        nnkIdent("T"),
+        nnkIdent("SomeInteger"),
+        nnkEmpty()
       )
     ),
     nnkFormalParams(