]> Cypherpunks repositories - gostls13.git/commit
Revert "errors: optimize errors.Join for single unwrappable errors"
authorDamien Neil <dneil@google.com>
Tue, 23 Dec 2025 00:35:42 +0000 (16:35 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 23 Dec 2025 18:03:09 +0000 (10:03 -0800)
commit1b3db48db7afc3fe17440af28cdeac67a0d048f1
tree033bba6f170f859e1e9c42a9b22a3a7412e2d9f4
parentb6b8b2fe6ef8ceb727c7a157750cdd4e61393489
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-on: https://go-review.googlesource.com/c/go/+/731981
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/errors/join.go
src/errors/join_test.go