[go] Revert "errors: optimize errors.Join for single unwrappable errors"

1 view
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Dec 23, 2025, 1:03:16 PM (2 days ago) Dec 23
to Damien Neil, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Ian Lance Taylor, Michael Pratt, Go LUCI, Dmitri Shuralyov, Dmitri Shuralyov, Gerrit Bot, Damien MATHIEU, golang-co...@googlegroups.com

Gopher Robot submitted the change

Unreviewed changes

1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Change information

Commit message:
Revert "errors: optimize errors.Join for single unwrappable errors"

This reverts CL 635115.

Reason for revert: The new behavior does not match the function documentation.

Fixes #76961
Change-Id: If2450aa4efba28c7a12887a5b306c231a836e740
Reviewed-by: Dmitri Shuralyov <dmit...@golang.org>
Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
Auto-Submit: Damien Neil <dn...@google.com>
Files:
  • M src/errors/join.go
  • M src/errors/join_test.go
Change size: S
Delta: 2 files changed, 0 insertions(+), 44 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Dmitri Shuralyov, +2 by Dmitri Shuralyov
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
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: If2450aa4efba28c7a12887a5b306c231a836e740
Gerrit-Change-Number: 731981
Gerrit-PatchSet: 4
Gerrit-Owner: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
Gerrit-Reviewer: Gerrit Bot <letsus...@gmail.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-CC: Damien MATHIEU <eco...@proton.me>
Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
Gerrit-CC: Michael Pratt <mpr...@google.com>
Gerrit-CC: Sean Liao <se...@liao.dev>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages