Thanks Dan.
Also I was mixing up "comparable" and "actually being equal", as in ==
returning true.
I think comparable just means "will compile without error".
On Wednesday, January 22, 2025 at 7:10:10 AM UTC Dan Kortschak wrote:
> On Tue, 2025-01-21 at 23:00 -0800, Jason E. Aten wrote:
> >
> > So what is "the same make"?
>
> It's not the same make, it's the same *call* to make. So a := make(chan
> struct{}); b := a; if a == b { /* this executes */ }.
>
>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/golang-nuts/2eb7ed62-eb1a-47b6-901f-0c5cb0f054a7n%40googlegroups.com.