<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/errors, branch makepkg</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=makepkg</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=makepkg'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2025-12-23T18:45:53Z</updated>
<entry>
<title>errors: add a test verifying join does not flatten errors</title>
<updated>2025-12-23T18:45:53Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-12-23T17:42:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3faf988f217f59630509c057f48549f59a02c25e'/>
<id>urn:sha1:3faf988f217f59630509c057f48549f59a02c25e</id>
<content type='text'>
For #76961

Change-Id: Ib81f3202074bf83a5b204b32706445f051f837a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/732360
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Sean Liao &lt;sean@liao.dev&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>Revert "errors: optimize errors.Join for single unwrappable errors"</title>
<updated>2025-12-23T18:03:09Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-12-23T00:35:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1b3db48db7afc3fe17440af28cdeac67a0d048f1'/>
<id>urn:sha1:1b3db48db7afc3fe17440af28cdeac67a0d048f1</id>
<content type='text'>
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 &lt;dmitshur@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>errors: add examples for custom Is/As matching</title>
<updated>2025-11-21T20:40:11Z</updated>
<author>
<name>Sean Liao</name>
<email>sean@liao.dev</email>
</author>
<published>2025-10-22T12:13:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1903782ade15293358c983e03db2bf238c5352fa'/>
<id>urn:sha1:1903782ade15293358c983e03db2bf238c5352fa</id>
<content type='text'>
Change-Id: Ia92dae13b6a4e9434b29d2ab3f698f6ba87b4b89
Reviewed-on: https://go-review.googlesource.com/c/go/+/713740
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Mark Freeman &lt;markfreeman@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>errors: document that the target of Is must be comparable</title>
<updated>2025-10-28T15:30:47Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-10-27T19:27:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=12c8d14d947ba922e19e3360ce5decd2bb848257'/>
<id>urn:sha1:12c8d14d947ba922e19e3360ce5decd2bb848257</id>
<content type='text'>
If target is not comparable, then errors.Is(err, target) can panic.
(Put another way, if target == target panics, then Is can panic.)

Document that the target must be comparable.

For #74488

Change-Id: I694dc4c91a608b80f044f06dd1c6ac32b8e77c9c
Reviewed-on: https://go-review.googlesource.com/c/go/+/715440
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
TryBot-Bypass: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>errors: add AsType</title>
<updated>2025-09-30T17:22:08Z</updated>
<author>
<name>Julien Cretel</name>
<email>jub0bsinthecloud@gmail.com</email>
</author>
<published>2025-09-29T16:57:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a846bb0aa523c8781248161b63bc2ab6a245cec1'/>
<id>urn:sha1:a846bb0aa523c8781248161b63bc2ab6a245cec1</id>
<content type='text'>
Fixes #51945

Change-Id: Icda169782e796578eba728938134a85b5827d3b6
GitHub-Last-Rev: c6ff335ee1ffb6b7975141795a4632a55247299d
GitHub-Pull-Request: golang/go#75621
Reviewed-on: https://go-review.googlesource.com/c/go/+/707235
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Sean Liao &lt;sean@liao.dev&gt;
</content>
</entry>
<entry>
<title>errors: mention Is/As in Join docs</title>
<updated>2025-08-20T19:04:15Z</updated>
<author>
<name>Sean Liao</name>
<email>sean@liao.dev</email>
</author>
<published>2025-08-17T13:03:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9de69f6913dc253ee8ce67043f543bedde28fdb4'/>
<id>urn:sha1:9de69f6913dc253ee8ce67043f543bedde28fdb4</id>
<content type='text'>
Fixes #74461

Change-Id: Ic1b1b2b43d59dd67f31c2388ca88650ee847ba93
Reviewed-on: https://go-review.googlesource.com/c/go/+/696737
Reviewed-by: David Chase &lt;drchase@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
Reviewed-by: Jorropo &lt;jorropo.pgm@gmail.com&gt;
</content>
</entry>
<entry>
<title>errors: omit redundant nil check in type assertion for Join</title>
<updated>2025-07-28T18:28:38Z</updated>
<author>
<name>Jes Cok</name>
<email>xigua67damn@gmail.com</email>
</author>
<published>2025-07-26T02:49:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=64ba72474d9a637fc8152c3bbd8cdec3ffde2940'/>
<id>urn:sha1:64ba72474d9a637fc8152c3bbd8cdec3ffde2940</id>
<content type='text'>
When ok is true, err can't be nil.

Make it behave more like the Unwrap function.

Change-Id: Ieba5de57d60f5ff4d6a3468d703e6f72be02a97d
GitHub-Last-Rev: 6df9365a1d586bba64df57be11f9ca7b772cc773
GitHub-Pull-Request: golang/go#74764
Reviewed-on: https://go-review.googlesource.com/c/go/+/689920
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Jorropo &lt;jorropo.pgm@gmail.com&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Mark Freeman &lt;mark@golang.org&gt;
Reviewed-by: Jorropo &lt;jorropo.pgm@gmail.com&gt;
</content>
</entry>
<entry>
<title>errors: add joinError Unwrap example</title>
<updated>2025-05-27T15:37:09Z</updated>
<author>
<name>jiahua wang</name>
<email>wjh180909@gmail.com</email>
</author>
<published>2025-05-20T05:40:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ed70477909c97f86f8d73bee2d8680b6788acec7'/>
<id>urn:sha1:ed70477909c97f86f8d73bee2d8680b6788acec7</id>
<content type='text'>
Change-Id: Id7489247e9bdd413f82fdf5a70197856c47abfb5
Reviewed-on: https://go-review.googlesource.com/c/go/+/674336
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
Reviewed-by: Sean Liao &lt;sean@liao.dev&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Auto-Submit: Sean Liao &lt;sean@liao.dev&gt;
</content>
</entry>
<entry>
<title>errors: optimize errors.Join for single unwrappable errors</title>
<updated>2025-04-14T13:49:08Z</updated>
<author>
<name>dmathieu</name>
<email>42@dmathieu.com</email>
</author>
<published>2024-12-11T09:55:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=80bff42fdd0380c09f4df35c4baacb9cfdae5aae'/>
<id>urn:sha1:80bff42fdd0380c09f4df35c4baacb9cfdae5aae</id>
<content type='text'>
Change-Id: I10bbb782ca7234cda8c82353f2255eec5be588c9
GitHub-Last-Rev: e5ad8fdb802e56bb36c41b4982ed27c1e0809af8
GitHub-Pull-Request: golang/go#70770
Reviewed-on: https://go-review.googlesource.com/c/go/+/635115
Auto-Submit: Sean Liao &lt;sean@liao.dev&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
Reviewed-by: Sean Liao &lt;sean@liao.dev&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>errors: reference Go 1.13 article about errors</title>
<updated>2024-09-30T17:37:38Z</updated>
<author>
<name>Matt T. Proud</name>
<email>matt.proud@gmail.com</email>
</author>
<published>2024-09-28T14:25:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1d0f5c478ac176fa99d0f3d6bd540e5fb422187a'/>
<id>urn:sha1:1d0f5c478ac176fa99d0f3d6bd540e5fb422187a</id>
<content type='text'>
This commit amends package errors' documentation to include a reference
to the https://go.dev/blog/go1.13-errors blog article. The motivation
is multi-fold, but chiefly the article includes good information about
error philosophy (e.g., when to wrap), and developers who have come to
Go in the intervening five years are likely not have seen this article
at all given the nature of blog publishing and post fanfare. The
material deserves a promotion in visibility.

Change-Id: Ia6f8307784521dd59de3a3d638dbc0a7fcd445e6
GitHub-Last-Rev: 20980dd5070cde495ebb08386ae7b4cd78ccc612
GitHub-Pull-Request: golang/go#69698
Reviewed-on: https://go-review.googlesource.com/c/go/+/616341
Reviewed-by: Jonathan Amsterdam &lt;jba@google.com&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
</feed>
