Glad to know they have fixed this. In Go 1.22.3 (the latest release), the first 3 lines of `errors.is` [0] are the following:
if target == nil {
return err == target
}
[0]: https://github.com/golang/go/blob/go1.22.3/src/errors/wrap.g...