diff --git a/docs/_docs/internals/syntax.md b/docs/_docs/internals/syntax.md index d780cdc5c94b..8c8f83450397 100644 --- a/docs/_docs/internals/syntax.md +++ b/docs/_docs/internals/syntax.md @@ -287,7 +287,8 @@ TypeSplice ::= spliceId ExprsInParens ::= ExprInParens {‘,’ ExprInParens} ExprInParens ::= PostfixExpr ‘:’ Type -- normal Expr allows only RefinedType here | Expr -ParArgumentExprs ::= ‘(’ [‘using’] ExprsInParens ‘)’ exprs +ParArgumentExprs ::= ‘(’ [ExprsInParens] ‘)’ exprs + | ‘(’ ‘using’ ExprsInParens ‘)’ | ‘(’ [ExprsInParens ‘,’] PostfixExpr ‘*’ ‘)’ exprs :+ Typed(expr, Ident(wildcardStar)) ArgumentExprs ::= ParArgumentExprs | BlockExpr diff --git a/docs/_docs/reference/syntax.md b/docs/_docs/reference/syntax.md index cabb9d9546ae..2072da165966 100644 --- a/docs/_docs/reference/syntax.md +++ b/docs/_docs/reference/syntax.md @@ -275,7 +275,8 @@ ExprSplice ::= spliceId ExprsInParens ::= ExprInParens {‘,’ ExprInParens} ExprInParens ::= PostfixExpr ‘:’ Type | Expr -ParArgumentExprs ::= ‘(’ [‘using’] ExprsInParens ‘)’ +ParArgumentExprs ::= ‘(’ [ExprsInParens] ‘)’ + | ‘(’ ‘using’ ExprsInParens ‘)’ | ‘(’ [ExprsInParens ‘,’] PostfixExpr ‘*’ ‘)’ ArgumentExprs ::= ParArgumentExprs | BlockExpr