Merge pull request #2954 from avsej/fix-rest-syntax-in-astspec
Fix rest syntax in astspec
This commit is contained in:
commit
bd394eaeda
1 changed files with 59 additions and 59 deletions
|
|
@ -1153,7 +1153,7 @@ Nim type Corresponding AST
|
|||
``iterator`` ``nnkIteratorTy``
|
||||
``object`` ``nnkObjectTy``
|
||||
|
||||
Take special care when declaring types as ``proc``s. The behavior is similar
|
||||
Take special care when declaring types as ``proc``. The behavior is similar
|
||||
to ``Procedure declaration``, below, but does not treat ``nnkGenericParams``.
|
||||
Generic parameters are treated in the type, not the ``proc`` itself.
|
||||
|
||||
|
|
@ -1178,8 +1178,8 @@ AST:
|
|||
)
|
||||
)
|
||||
|
||||
The same syntax applies to ``iterator``s (with ``nnkIteratorTy``), but
|
||||
*does not* apply to ``converter``s or ``template``s.
|
||||
The same syntax applies to ``iterator`` (with ``nnkIteratorTy``), but
|
||||
*does not* apply to ``converter`` or ``template``.
|
||||
|
||||
Mixin statement
|
||||
---------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue