mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
Fix proc generic params ident defs, missing empty (#15412)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user