Open
Description
Proposal Details
Think such code:
can be found here: https://go.dev/play/p/qNBK9KjxqrW
func Chan[E any, C ~<-chan E](c C) {}
func x() {
c := make(chan int)
Chan(c)
}
then Chan(c)
produce chan int does not satisfy ~<-chan int (chan int missing in ~<-chan int)
In my opinion, this is a flaw in generic design that should be supported