Accept nnkTypeSection from typedef macro pragmas (#19168)
This commit is contained in:
parent
eb5358dcdb
commit
1b143f5e79
4 changed files with 109 additions and 5 deletions
|
|
@ -7755,6 +7755,7 @@ This is translated to:
|
|||
This is translated to a call to the `schema` macro with a `nnkTypeDef`
|
||||
AST node capturing both the left-hand side and right-hand side of the
|
||||
definition. The macro can return a potentially modified `nnkTypeDef` tree
|
||||
or multiple `nnkTypeDef` trees contained in a `nnkTypeSection` node
|
||||
which will replace the original row in the type section.
|
||||
|
||||
When multiple macro pragmas are applied to the same definition, the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue