Fix proc generic params ident defs, missing empty (#15412)
This commit is contained in:
parent
57b7841c18
commit
0ea559611d
1 changed files with 3 additions and 1 deletions
|
|
@ -1255,7 +1255,9 @@ AST:
|
||||||
nnkEmpty(), # patterns for term rewriting in templates and macros (not procs)
|
nnkEmpty(), # patterns for term rewriting in templates and macros (not procs)
|
||||||
nnkGenericParams( # generic type parameters, like with type declaration
|
nnkGenericParams( # generic type parameters, like with type declaration
|
||||||
nnkIdentDefs(
|
nnkIdentDefs(
|
||||||
nnkIdent("T"), nnkIdent("SomeInteger")
|
nnkIdent("T"),
|
||||||
|
nnkIdent("SomeInteger"),
|
||||||
|
nnkEmpty()
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
nnkFormalParams(
|
nnkFormalParams(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue