[go] doc/go_spec: add max and min to forbidden expression statements list

0 views
Skip to first unread message

Robert Griesemer (Gerrit)

unread,
Mar 3, 2026, 4:29:24 PM (2 days ago) Mar 3
to ali altowaiji, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Alan Donovan, Go LUCI, Gopher Robot, golang-co...@googlegroups.com

Robert Griesemer submitted the change

Change information

Commit message:
doc/go_spec: add max and min to forbidden expression statements list

The expression statements section omitted max and min from the list
of built-ins that are not permitted in statement context.

Fixes #77896
Change-Id: I1f3d4b1d2465bde156ff751a9a7b5a212509e9a5
Reviewed-by: Alan Donovan <adon...@google.com>
TryBot-Bypass: Alan Donovan <adon...@google.com>
Reviewed-by: Robert Griesemer <g...@google.com>
Auto-Submit: Alan Donovan <adon...@google.com>
Files:
  • M doc/go_spec.html
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Robert Griesemer, +2 by Alan Donovan
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result-1 by Go LUCI, TryBot-Bypass+1 by Alan Donovan
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I1f3d4b1d2465bde156ff751a9a7b5a212509e9a5
Gerrit-Change-Number: 751080
Gerrit-PatchSet: 3
Gerrit-Owner: ali altowaiji <aliyasir...@gmail.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Robert Griesemer <g...@google.com>
Gerrit-CC: Gopher Robot <go...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages