The escape analysis does not currently support direct structs in channels, such as chan struct{int*}. (It does support channels of pointers such as chan *int). Most channels with structs appear to be chan struct{}, which doesn't present any soundness issues, but channels of structs should be fully supported.
The escape analysis does not currently support direct structs in channels, such as
chan struct{int*}
. (It does support channels of pointers such aschan *int
). Most channels with structs appear to bechan struct{}
, which doesn't present any soundness issues, but channels of structs should be fully supported.