Closed YoshikiShibata closed 4 years ago
You're using the receive operator on the result of gs.prevStream.prevData()
, which is two values, not a channel. The receive operator cannot be used on two values, hence the type check failure.
Agreed. This is not a bug.
Oops. Sorry for bothering.
2-valued values cannot be assigned to two variables: https://go2goplay.golang.org/p/rKe_LDnHgM_m