mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 04:57:49 +00:00
[docs]fix an item missing (#18717)
This commit is contained in:
@@ -364,6 +364,7 @@ AST:
|
||||
nnkExprColonExpr(nnkIdent("a"), nnkIntLit(1)),
|
||||
nnkExprColonExpr(nnkIdent("b"), nnkIntLit(2)),
|
||||
nnkExprColonExpr(nnkIdent("c"), nnkIntLit(3)))
|
||||
nnkTupleConstr()
|
||||
|
||||
Since the one tuple would be syntactically identical to parentheses
|
||||
with an expression in them, the parser expects a trailing comma for
|
||||
|
||||
Reference in New Issue
Block a user