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
commit 0ea559611d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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(