Fixed a wrong AST example (#8269)

This commit is contained in:
Quelklef 2018-07-11 02:52:09 -04:00 • committed by Andreas Rumpf
commit 6fe79fd158

View file

@ -1270,10 +1270,10 @@ AST:
nnkIdent("float32"),
nnkEmpty()
)
nnkPragma(nnkIdent("inline")),
nnkEmpty(), # reserved slot for future use
nnkStmtList(nnkDiscardStmt(nnkEmpty())) # the meat of the proc
)
),
nnkPragma(nnkIdent("inline")),
nnkEmpty(), # reserved slot for future use
nnkStmtList(nnkDiscardStmt(nnkEmpty())) # the meat of the proc
)
There is another consideration. Nim has flexible type identification for