What version of Go are you using (go version)?

$ go version
go1.21.0 darwin/amd64

Does this issue reproduce with the latest release?

Yes

"x is nil, y is unknown" -> "y is nil, x is unknown"at https://cs.opensource.google/go/x/tools/+/refs/tags/v0.12.0:go/analysis/passes/nilness/nilness.go;l=164

Comment From: siddharth-sable

Hello @dmitshur, I would love to work on this. thank you

Comment From: dmitshur

Thanks Siddharth, please feel free to mail a code change. See https://go.dev/doc/contribute for more information on the process.

Comment From: gopherbot

Change https://go.dev/cl/521355 mentions this issue: nillness: updated wrong internal code comment

Comment From: siddharth-sable

Hello, @dmitshur, I mailed a code change. Please check. Thank you.

Comment From: snprajwal

This seems to be fixed on the current master branch. Should this issue be closed?

Comment From: dmitshur

Thanks for pointing that out.

Fixed by CL 595895.