From: ishwargowda Date: Wed, 2 Nov 2022 14:19:36 +0000 (+0000) Subject: go/parser: add missing parenthesis in a comment X-Git-Tag: go1.20rc1~458 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=07a70bcabb3c81a2f97e894a6910d95b19d6b074;p=gostls13.git go/parser: add missing parenthesis in a comment Change-Id: I30783aa6a13ad8348fa24b27672d542a868f96de GitHub-Last-Rev: c4584ad9dab9736275c2f2554affb6af214f82dd GitHub-Pull-Request: golang/go#56526 Reviewed-on: https://go-review.googlesource.com/c/go/+/447217 Auto-Submit: Robert Griesemer Run-TryBot: Robert Griesemer TryBot-Result: Gopher Robot Reviewed-by: Robert Griesemer Reviewed-by: Bryan Mills --- diff --git a/src/go/parser/parser.go b/src/go/parser/parser.go index bd7b3945ea..4dcfaca299 100644 --- a/src/go/parser/parser.go +++ b/src/go/parser/parser.go @@ -1387,7 +1387,7 @@ func (p *parser) parseFuncTypeOrLit() ast.Expr { } // parseOperand may return an expression or a raw type (incl. array -// types of the form [...]T. Callers must verify the result. +// types of the form [...]T). Callers must verify the result. func (p *parser) parseOperand() ast.Expr { if p.trace { defer un(trace(p, "Operand"))