Fix proc generic params ident defs, missing empty (#15412)

This commit is contained in:
hlaaftana
2020-09-27 20:47:58 +03:00
committed by GitHub
parent 57b7841c18
commit 0ea559611d

View File

@@ -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(