sourcegraph/internal/codeintel
Varun Gandhi 2955bb6cfb
chore: Change errors.HasType to respect multi-errors (#63024)
With this patch, the `errors.HasType` API behaves similar to `Is` and `As`,
where it checks the full error tree instead of just checking a linearized version
of it, as cockroachdb/errors's `HasType` implementation does not respect
multi-errors.

As a consequence, a bunch of relationships between HasType and Is/As that
you'd intuitively expect to hold are now true; see changes to `invariants_test.go`.
2024-06-06 13:02:14 +00:00
..
autoindexing chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
codenav chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
context bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
dependencies worker: Reduce frequency of very frequently run jobs (#62864) 2024-05-23 18:31:20 +02:00
policies chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
ranking worker: Reduce frequency of very frequently run jobs (#62864) 2024-05-23 18:31:20 +02:00
reposcheduler bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
resolvers chore(codeintel): usagesForSymbol - make start/end non-optional for now (#63059) 2024-06-04 18:38:49 +08:00
shared chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
syntactic_indexing Syntactic indexing: enqueuer and scheduler (#62485) 2024-05-31 10:25:30 +01:00
types bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
uploads chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
CODENOTIFY codenotify: dr. fritz is kil (#57313) 2023-10-03 16:19:55 +00:00
services.go chore: Remove sentinel code (#61814) 2024-04-12 07:25:40 +02:00