From 0ea559611d7cd4ba907a668af01302d52fa3eab9 Mon Sep 17 00:00:00 2001 From: hlaaftana <10591326+hlaaftana@users.noreply.github.com> Date: Sun, 27 Sep 2020 20:47:58 +0300 Subject: [PATCH] Fix proc generic params ident defs, missing empty (#15412) --- doc/astspec.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/astspec.txt b/doc/astspec.txt index ab2fbcacc8..c41aee96f6 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(